New window with MFC
Hi...
I have created an application with a framewindow and the client area as a childwindow, as I always do, and it works.
Now I want a little subwindow displaying some information (A simple treectrl). Basicly I want to know how to do this.
I have already tried to solve this the way I thought to be right, creating the subwindow in my MainFrame::OnCreate().
If my subwindow is a framewnd (with or without a child), I cant terminate that window without getting a error/debug message (user breakpoint!?! and its NOT mine).
If my subwindow is a ordinary CWnd or CTreeCtrl I get the window but cant select it or move it around.
Do I have to declare anything else than setting the windows to be childs to my main frame window?
// Thanks
// Javelin
-- Why do something today when you can do it tomorrow... --
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement