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

sig siguctua at gmail.com
Wed Jul 11 21:26:54 UTC 2007


you can use EnumWindows function to enumerate all top level windows
and find one that having process handle (GetWindowThreadProcessId )
same as you get with GetProcessHandle

see
http://msdn2.microsoft.com/en-us/library/ms633497.aspx
http://msdn2.microsoft.com/en-us/library/ms633522.aspx


On 11/07/07, Herbert König <herbertkoenig at gmx.net> wrote:
> Hello Sig,
>
> Wednesday, July 11, 2007, 4:40:25 PM, you wrote:
>
> s> use GetProcessHandle, and then GetMainWindow..
> s> win32 kernel functions.. i dont remember how called last function
> s> exactly, but its somewhat possible to get main window for current
> s> process.
>
> Sounds good but alas my msdn help doesn't sprit out how to use
> getProcessHandle or which dll it's in.
>
> Can you give some details?
>
>
> Thanks
>
> Herbert                            mailto:herbertkoenig at gmx.net
>
>
>



More information about the Squeak-dev mailing list