where to put that code if I want this peace of code to be called when the dialog disappears??
Please Help
VisualPenguin
Printable View
where to put that code if I want this peace of code to be called when the dialog disappears??
Please Help
VisualPenguin
Either WM_CLOSE or WM_DESTROY depending on your exact needs.
For when the dialogue has been closed by the user, use WM_CLOSE.
But I'm using MFC, where do I need to put it then?
VisualPenguin
Use ClassWizard to add an OnClose handler and use that.
yes, good idea.
thanks for your help! it's working now!
VIsualPenguin