WM_DESTROY and EndDialog

  • Thread starter Thread starter Rajko
  • Start date Start date
R

Rajko

How come I don't get WM_DESTROY message when I call CDialog::OnOK()?
CDialog::OnOK() calls EndModalLoop() and EndDialog();

But there is no WM_DESTROY, which I need to end thread.
BTW I dont want to post quit message at two places when I could post it on
one place.

Thx, Rajko.
 
Back
Top