[squeak-dev] Re: Avoiding the VM-Quit Dialog under Windows
Jens Moenig
jens at moenig.org
Fri Oct 24 21:19:28 UTC 2008
Wow Andreas! You're the man :)
Thank you so much!
Andreas Raab wrote:
>
> Hi Jens -
>
> I just finished uploading a new VM (3.10.8) which generates a window
> close event when the EnableAltF4Quit preference is turned off. I've
> tested it with the etoys4 image and it works as expected (for both the
> close button as well as Alt-F4):
>
> http://squeakvm.org/win32/release/SqueakVM-Win32-3.10.8-bin.zip
> http://squeakvm.org/win32/settings.html
>
> Cheers,
> - Andreas
>
> Jens Moenig wrote:
>> Yes, Michael, I already know that much. But this setting just *disables*
>> Alt-F4 as well as the close button. It does not, however, notify my image
>> of
>> any VM-WindowEvents, or does it?
>>
>> What I want to accomplish is this:
>>
>> Whenever the user presses the VM's close button I want to be receiving
>> some
>> kind of #windowClose event, which my application can react to. I've seen
>> all
>> the necessary code in the new Etoys image, and I've read about these
>> events
>> in a post by Ian Piumarta (from last year, I think) in the Linux-VM. So,
>> I
>> guess my question is: Does the current (or newest) Win32-VM support these
>> WindowEvents at all, because to me it doesn't seem so? (but it would be
>> sooooo useful!)
>>
>> -Jens
>>
>>
>> Michael Rueger wrote:
>>>
>>> if you use a current VM adding
>>> EnableAltF4Quit=0
>>>
>>> to the .ini does the trick. It controls both F4 and the window close
>>> button behavior.
>>>
>>> Michael
>>>
>>>
>>
>
>
>
>
--
View this message in context: http://www.nabble.com/Avoiding-the-VM-Quit-Dialog-under-Windows-tp20145356p20157630.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|