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 » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » How to combine two widget-class in the topwindow
How to combine two widget-class in the topwindow [message #2038] Thu, 30 March 2006 14:20 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

after your precious feedback I was able to build a marvellous menubar with many menu. It is very easy.

Now the problem (for me) is how to combine two o more classes.
Let me refer to a concrete case. In the reference assembly we have the packages Menu and StatusBar. In the first one I found the class App for the menu, while in the second one I have the class App2 (actually named App too) for the status bar.
The silly question is: How to let appear in one top window the menu and the status bar?

I have put in one file both code and tried the stupid

GUI_APP_MAIN
{
App().Run();
App2().Run();
}

that opened two separate top windows (two different applications). I was not luckier with Open() method.

Many thanks in advance,
Luigi
 
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
Read Message
Read Message
Previous Topic: Mouse over button example -"catch me if you can..."
Next Topic: "Forlano tabs" - how to reduce a headache by the proper use of the designer...
Goto Forum:
  


Current Time: Sun Apr 28 16:26:52 CEST 2024

Total time taken to generate the page: 0.03060 seconds