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 » Modal vs non-modal window
Re: Modal vs non-modal window [message #11970 is a reply to message #11968] Fri, 05 October 2007 13:47 Go to previous messageGo to previous message
NeonN is currently offline  NeonN
Messages: 8
Registered: September 2007
Location: Czech Republic
Promising Member
exolon wrote on Fri, 05 October 2007 11:55

Just out of curiosity, why did you do:
bool * sent = new bool;



Thanks for a note... I guess I wasn't thinking about the code deeply Smile..

mrjt:
I guess you're right. Separating more complex windows is a good idea. And for small dialogs it's reasonable to use just:
void HomeBudget::NewCategory()
{
	AddNewCat dlg;
	
	if(dlg.Execute() == IDOK)
	{
		...
	}
}
(HomeBudget example)

I looked at the CtrlRetriever and it seems to be a good way how to handle Option dialogs... thanks for a tip. I'll try it as soon as possible.
And the idea of creating a dialog class with some basic functions to manipulate the window and it's data crossed my mind yesterday. But first I'll have to explore some features of Ultimate++ Smile... I am getting into it slowly (but surely Smile ).

Anyway...for now thanks for all the answers Smile... Ultimate++ is great toolkit and this forum is awesome. Ultimate++ gained another happy user Smile...
 
Read Message icon5.gif
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: TopWindow Backup/Restore
Next Topic: Minor bug: TopWindow::GetStdSize()
Goto Forum:
  


Current Time: Mon May 06 06:37:25 CEST 2024

Total time taken to generate the page: 0.01983 seconds