Archived

This topic is now archived and is closed to further replies.

New window with MFC

This topic is 5235 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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... --

Share this post


Link to post
Share on other sites
quote:

make a new dialog object.



The thing is thyat I do not want a dialog... I want an ordinary window...

// Javelin
-- Why do something today when you can do it tomorrow... --

[edited by - Javelin on August 13, 2003 4:33:21 AM]

Share this post


Link to post
Share on other sites