Chandra, are you using the MFC library? If not, you should check the dialog-function. Normally, you write something like:
switch (message)
{
case ID_...:
...
case ID_...:
EndDialog(...);
}
Do you call EndDialog() on the wrong event (= wrong ID_...)?
BTW, I prefer not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.