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

tim Rowledge tim at rowledge.org
Wed Jul 11 15:10:13 UTC 2007


On 11-Jul-07, at 7:40 AM, sig wrote:

> 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?
Ffenestri. Search for it on the swiki. Assuming the windows plugin  
meets the spec then the window you normally think of as the main  
window should be accessible. IIRC. YMMV. TTFN.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
To err is human; to forgive, beyond the scope of the Operating System.





More information about the Squeak-dev mailing list