Close Gadget Function (?)

Find quick help here to get you started with Hollywood
Post Reply
User avatar
NubeCheCorre
Posts: 77
Joined: Mon Mar 19, 2012 1:24 am
Contact:

Close Gadget Function (?)

Post by NubeCheCorre »

Is there a function, in Hollywood, to check if the user press the close gadget button in the app window? I would like to use it to exit from my program and free all the allocated resources :)

PEB
Posts: 536
Joined: Sun Feb 21, 2010 1:28 am

Re: Close Gadget Function (?)

Post by PEB »

Check the documentation for InstallEventHandler().

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Close Gadget Function (?)

Post by djrikki »

NubeCheCorre wrote:Is there a function, in Hollywood, to check if the user press the close gadget button in the app window? I would like to use it to exit from my program and free all the allocated resources :)
Yup, CloseWindow, SizeWindow, OnMouseOver, OnMouseUp, OnMouseDown etc... whilst you've got your head around event handling it will become a lot clearer.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

User avatar
NubeCheCorre
Posts: 77
Joined: Mon Mar 19, 2012 1:24 am
Contact:

Re: Close Gadget Function (?)

Post by NubeCheCorre »

Thanks Guys! :-)

Post Reply