hello all
Well, i was searching for a window class that it would be the best to use for what i want to achieve.
Basically i have my main window as a wxFrame. This would be sth like 3d studio with realtime viewports etc. I also want to open a separate window that shows the final rendering of the model. This window will contain it's own toolbar, scrolled window for canvas etc.
So i was thinking of making it a wxFrame too, but i see that a frame must not be a child of another frame. Then i thought dialog, but i read that a frame can't have a dialog child either. Then the only option is to create a frame with a null parent, but i see that when a null parent is provided, the top level window is assigned as a parent to it by default, which in my case is a wxFrame.
let me note here that i don't want this separate window to appear in windows taskbar.
so can anyone help me out choosing the appropriate window class?
thanks in advance
Dialogs and frames Topic is solved
- tierra
- Site Admin
- Posts: 1355
- Joined: Sun Aug 29, 2004 7:14 pm
- Location: Salt Lake City, Utah, USA
- Contact:
Re: Dialogs and frames
Where did you read this? Neither of these statements are true.nkwinder wrote:So i was thinking of making it a wxFrame too, but i see that a frame must not be a child of another frame. Then i thought dialog, but i read that a frame can't have a dialog child either.
-
- Experienced Solver
- Posts: 72
- Joined: Fri Feb 20, 2009 7:13 pm
- Location: $(#wx)\src
Code: Select all
class MyFrame : public wxFrame
{
public:
wxFrame bob = new wxFrame(this, -1);
}
EDIT: My cheesy graph encoder thingy majig has a nice example I could show when I get home from high school...
Last edited by computerquip on Wed Mar 04, 2009 2:57 pm, edited 2 times in total.
from august 2008 documentation
"A frame is a window whose size and position can (usually) be changed by the user. It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog."
maybe i'm wrong but i think contain means having a child...
"A frame is a window whose size and position can (usually) be changed by the user. It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog."
maybe i'm wrong but i think contain means having a child...