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   |
 |
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
|
|
|
 |
|
Multiple window project advice,examples?
By: Edward on Sun, 22 February 2015 19:42
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 15:21
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Mon, 23 February 2015 15:32
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 15:45
|
 |
|
Re: Multiple Layout (forms) project examples?
By: jerson on Mon, 23 February 2015 18:38
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 19:20
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Tue, 24 February 2015 09:29
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Tue, 24 February 2015 11:35
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 23:25
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Oblivion on Tue, 24 February 2015 08:47
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Tue, 24 February 2015 09:26
|
 |
|
Re: Multiple window project advice,examples?
By: Edward on Tue, 24 February 2015 15:31
|
Goto Forum:
Current Time: Fri Aug 22 18:59:27 CEST 2025
Total time taken to generate the page: 0.05809 seconds
|