horn
asked on
Disabling the "X" button
I would like to know how to disable the "X" button in the upper right corner of a Windows application.
I want the user to be able to exit only using the pull-down menu option File->Exit.
Thanks.
I want the user to be able to exit only using the pull-down menu option File->Exit.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm not sure which solution you are looking for, but if my solution works, please give me some points.. I am running low.
Horn asked about disabling the button, not getting rid of it entirely. If you need points, you should answer the question that was asked correctly (like I did), not answer a question you made up yourself.
B ekiM
B ekiM
ASKER
I am sorry but to be fair, the points have to go to the first one to answer correctly.
Thanks B ekiM.
Thanks B ekiM.
This will can the 'X' but it will also can the button in the upper left too. So all you have is a title bar with the title text. Menu will still work fine.