Hi
In my parent window when i click a button i open a calendar dialog. i would like to know once i click in someother part of parent window how the calendar dialog can be hidden like under which event i can handle this situation. i tried during WM_PAINT where i am keep checking whether calendar window is visible && has not captured touch && has focus i will disable but its happening once i create the calendar i want to handle this kind of feature when user touches any other place other than widgets in parent window the calendar dialog gets hidden.
In my parent window when i click a button i open a calendar dialog. i would like to know once i click in someother part of parent window how the calendar dialog can be hidden like under which event i can handle this situation. i tried during WM_PAINT where i am keep checking whether calendar window is visible && has not captured touch && has focus i will disable but its happening once i create the calendar i want to handle this kind of feature when user touches any other place other than widgets in parent window the calendar dialog gets hidden.