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 #34486 is a reply to message #34464] Fri, 25 November 2011 13:11 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
lectus wrote on Wed, 23 November 2011 09:54

Thanks!

But does this apply to Windows with layouts?



Sure. There is no difference between windows with or without lauyouts...

There is also no magic about layouts:

WithMyDialogLayout<TopWindow> w;


This only adds alls widgets of layout as member variables of a new class derived from TopWindow (and yes, TopWindow is not mandatory, you can use any other base).

CtrlLayout(w);


This sets properties of those widgets as defined in layout designer - it includes positions as well.

Mirek
 
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 05:42:49 CEST 2024

Total time taken to generate the page: 0.02949 seconds