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!

Dialog Problems...

Status
Not open for further replies.

danielnogo

Programmer
Jan 20, 2005
16
0
0
US
Im having a problem with a dialog box I made. I want it to come up when the main dialog initializes itself, but I dont want it to stop any processes, I just want to have it pop up and float as a toolbox. Whats the code to do this? I know how to call the dialog, but cant get it to continue everything else until you close that dialog.
 
Make it a modeless dialog. Don't call its DoModal.

1) Call its Create.
2) Call ShowWindow to show it
3) Override its OnOk / OnCancel to do DestroyWindow. Do not let them call call CDialog::OnOK / OnCancel.


/Per
[sub]
www.perfnurt.se[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top