[squeak-dev] Re: Avoiding the VM-Quit Dialog under Windows
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):
> - 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
>> 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
>> kind of #windowClose event, which my application can react to. I've seen
>> the necessary code in the new Etoys image, and I've read about these
>> in a post by Ian Piumarta (from last year, I think) in the Linux-VM. So,
>> 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!)
>> Michael Rueger wrote:
>>> if you use a current VM adding
>>> to the .ini does the trick. It controls both F4 and the window close
>>> button behavior.
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