Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Dlg 1

Status
Not open for further replies.

ForeverCode

Programmer
Dec 6, 2002
41
0
0
US
I'm trying to create a dlg window from my main dlg out of a resource. I want it to be its own window and not part of the main dlg so it will minimize to the taskbar and such. Righ now I'm using Create() to create modeless dlgs but they are always on top of the main dlg and they wont minimize to the task bar. Also when i click on one dlg the all come up over everything, i dont want that. Does anyone have an idea on how to create my dlg right? This is how I'm doing it now:

CIMWindow MyWindow;

MyWindow.Create(IDD_IM, NULL);
MyWindow.ShowWindow(SW_SHOW);

-Micah
 
Code:
MyWindow.Create(IDD_IM, CWnd::FromHandle(::GetDesktopWindow()));



-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top