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?
Re: How to remove the button [X] that closes the window? [message #18480 is a reply to message #18441] Fri, 03 October 2008 04:33 Go to previous message
sevenjay is currently offline  sevenjay
Messages: 30
Registered: October 2008
Location: Taiwan
Member
I think this is clear Smile
class example : public WithexampleLayout<TopWindow> {
public:
	example();
	void Close();
	void RealClose();
};

void example::Close()
{
	PromptOK("Please Login");
}
void example::RealClose()
{
	if(PromptOKCancel("Exit MyApp?"))
		this->TopWindow::Close();
}
 
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: Sat May 04 03:45:00 CEST 2024

Total time taken to generate the page: 0.02121 seconds