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 handle child windows
Re: How to handle child windows [message #9510 is a reply to message #9508] Sun, 13 May 2007 10:00 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1213
Registered: March 2006
Location: Italy
Senior Contributor
michael wrote on Sun, 13 May 2007 00:46

Lets say i want to open an child window for dispaying some help context. A help window.

I would like to open this new window by pressing a button on my main TopWindow.

How do i have to create this new Window and how do i have to add some components like labels, buttons, etc. on this new window?

I tried the example with multipe TopWindows but is this the right way to handle windows like this?

I need some basic example on how to create a child windows from a topwindow.

Thanks in advance.

Michael


Hello,

for a help window just use

HelpWindow a;
a.Execute();

For a non modal window see section 22 of http://www.ultimatepp.org/srcdoc$CtrlLib$Tutorial$en-us.html

Hope this can help.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to delete all widgets on a TopWindow?
Next Topic: How to call class1 member after closing class2
Goto Forum:
  


Current Time: Sun Aug 10 11:24:30 CEST 2025

Total time taken to generate the page: 0.03348 seconds