Re: Stopping onClose Event in Win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message

>From:         Smith Ray <Ray.Smith at FUJITSU.COM.AU>
>Subject:      Stopping onClose Event in Win32Lib
>
>Hi all,
>
>I am writing a simple Win32 application and want to be able to ask the
>user a "yes" "no" question if they have made changes to their work when
>clicking on the "x" in the top right hand corner of the window.
>
>Like all good programs "Save? Yes / No / Cancel".
>
>I can use the "onClose" event to process a procedure when the user
clicks
>on the "x" but I don't know how to cancel the even if the user wants to
>click on "Cancel" meaning I do not want to close.
>

Use WinMain() again....

Bye,
PQ
QC


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu