Hello all,
I have a small question. I am running a program in console + GUI mode. The problem is that the user can click the X button of the console window and shut down the program. Is there a way of knowing when that action was performed to either prevent it or have a function to perform some actions? Kinda like an OnRelease event of a normal window.
I've tried creating a main window which is hidden and i was trying to trigger the onrelease event of that but it doesnt work.The event is never being triggered.
Thanks a lot in advance.
Window console+GUI mode release
Moderator: Rathinagiri
- vagblad
- Posts: 160
- Joined: Tue Jun 18, 2013 12:18 pm
- DBs Used: MySQL,DBF
- Location: Thessaloniki, Greece
Window console+GUI mode release
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
Email: vagblad@gmail.com, Skype: vagblad
Re: Window console+GUI mode release
Refer link it may help you
http://hmgforum.com/viewtopic.php?f=6&t ... =disable+x
http://hmgforum.com/viewtopic.php?f=6&t ... =disable+x
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- vagblad
- Posts: 160
- Joined: Tue Jun 18, 2013 12:18 pm
- DBs Used: MySQL,DBF
- Location: Thessaloniki, Greece
Re: Window console+GUI mode release
Thanks BPD. Worked like a charm!
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
Email: vagblad@gmail.com, Skype: vagblad