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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to destroy several instances of a dialog-derived class?

Status
Not open for further replies.

julych

Programmer
Dec 21, 2002
14
BG
Let's say my application has a pointer to a CDialog derived class and I create some modeless dialogs.(More than one!). My question is how to destroy all of them - myPointer->DestroyWindow() - for the last created one and after that how to redirect the pointer to the rest of the dialogs in order to destroy all of them?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top