Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » How to remove the button [X] that closes the window?
How to remove the button [X] that close the window [message #2845 is a reply to message #444] Fri, 28 April 2006 00:20 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1214
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I do not want my user close the window by pressing the button [X] in the top-right side of the window itself. To prevent it I've attached to the event WhenClose a callback that do nothing. It seems to work although I do not know if it is the correct way.
However I would like to let the button [X] disappear from the bar to prevent useless click. Is it possible?
Thank you

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How do I change main window and dialog title font size
Next Topic: TopWindow when Close override show exception unduly
Goto Forum:
  


Current Time: Fri Aug 22 23:48:08 CEST 2025

Total time taken to generate the page: 0.05807 seconds