Win32Window how to get Squeak's window Handle? VM?

sig siguctua at gmail.com
Wed Jul 11 14:40:25 UTC 2007


use GetProcessHandle, and then GetMainWindow..
win32 kernel functions.. i dont remember how called last function
exactly, but its somewhat possible to get main window for current
process.

On 11/07/07, Herbert König <herbertkoenig at gmx.net> wrote:
> Hello,
>
> FFI's Win32Window>>getFocus works as long as Squeak has the input
> focus.
>
> The VM knows this handle under stWindow.
>
> Is there a way to get this in Squeak? Besides writing a new primitive?
>
> The goal of all this is to size the Windows window tightly around a
> Morph.
>
>
> Thanks,
>
> Herbert                          mailto:herbertkoenig at gmx.net
>
>
>



More information about the Squeak-dev mailing list