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 call a new window?
Re: How to call a new window? [message #34464 is a reply to message #34448] Wed, 23 November 2011 15:54 Go to previous messageGo to previous message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Thanks!

But does this apply to Windows with layouts?

I tried:
WithMyDialogLayout<TopWindow> w;
CtrlLayout(w);
w.Run();

It seems to work.
But I don't know if this is the right way.

EDIT:
I think I got how it works:
WithMyDialogLayout<TopWindow> w;
CtrlLayoutOKCancel(w,"test");
if(w.ExecuteOK())
	Exclamation("Selected ok");


Thanks for the information guys! Smile

[Updated on: Wed, 23 November 2011 16:02]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TrayIcon test V2
Next Topic: TopWindow::SerializePlacement () on dual-head display
Goto Forum:
  


Current Time: Sun May 12 06:40:09 CEST 2024

Total time taken to generate the page: 0.03553 seconds