hi
i am writing an application where i want to write my own handler for
ok button of a dialog
shown in upper right corner by default which
is meant for exiting the dialog , but here i want to stop exiting of
application if certain condition not satisfied , so what i did is in
WINPROC of dialog i tried to handle the message
WM_DESTROY , but it does not work as even if i return the application
from there the
application still gets destroyed
hoping to get a needfull solution