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

Kill a dialog

Status
Not open for further replies.

gurrakoo

Programmer
Mar 25, 2003
1
SE
Hi,
I try to kill a dialog(CPropertySheet) in a friendly way
and need to do this from another thread.
I've tried using PostMessage etc...
and EndModalLoop, EndDialog...
But nothing seems to be working for me.
Any tip would be appreciated.

Koo
 
Where are you posting it to? For property sheets, you need to post to the parent.

You could try posting WM_COMMAND, IDOK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top