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++ TheIDE » U++ TheIDE: Layout (Forms) Designer » Multiple window project advice,examples? (Visual designer layouts and navigation between all.)
Re: Multiple Layout (forms) project examples? [message #44332 is a reply to message #44324] Mon, 23 February 2015 15:21 Go to previous messageGo to previous message
Edward is currently offline  Edward
Messages: 34
Registered: February 2015
Location: United States
Member
I did find a guide on adding additional 'windows' to U++ projects as titled by the author.
See Leonard's Ultimate++ Notebook: (not sure why all of the results found are circa 2005/2006).
http://leonardoce.interfree.it/leowiki.html

But, in Step 3, I'm not understanding specifically where the 'Constructor' is located.
The instructions state:

Quote:
Open the generated header file (usually named "{pkgname}.h") and put the generated class declaration under the class declaration already present. If you want you can change the name of the class... etc...

Cut and paste the constructor from the header file to the cpp file (usually named "main.cpp"}.


This is the 'Dialog class' code generated from my new layout.

class MainDlg : public WithMain<TopWindow> {
	typedef MainDlg CLASSNAME;

public:
	MainDlg();
};

MainDlg::MainDlg()
{
	CtrlLayout(*this, "");
}


This is my 'Dialog struct' code generated:

struct MainDlg : WithMain<TopWindow> {
	typedef MainDlg CLASSNAME;
	MainDlg();
};

MainDlg::MainDlg()
{
	CtrlLayout(*this, "");
}


Is the (constructor from the header file to the cpp file (usually named "main.cpp"}) already in the header file (of HomeBudget example).

If anyone understands this explanation please advise, the author was a bit vague for this beginner.

Any advice appreciated.


My mission is to find a powerful(Non MS) C++ IDE w/GUI to marry and spend the rest of my life with...

[Updated on: Mon, 23 February 2015 15:37]

Report message to a moderator

 
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: Layout Designer, Code Generator : some switch options are hidden
Next Topic: Layout Designer causes compile errors
Goto Forum:
  


Current Time: Fri Aug 22 18:59:27 CEST 2025

Total time taken to generate the page: 0.05809 seconds