New window with MFC

Started by
1 comment, last by Javelin 20 years, 8 months ago
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... --
// Javelin// Assumption is the mother of all fuckups...
Advertisement
make a new dialog object.
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]
// Javelin// Assumption is the mother of all fuckups...

This topic is closed to new replies.

Advertisement