Returns whether a window is the popup calendar window or one of its child windows.
C
BOOL SftMaskCalendarWindow_IsCalendarWindowOrChildWindow(HWND hwnd);
hwnd
The window handle to test.
Because the popup calendar is a separate top-level window, an application implementing focus- or activation-sensitive logic (e.g., closing its own popups when the "application" loses activation) can use this function to recognize the calendar as belonging to the masked edit control.
See Also IsCalculatorWindowOrChildWindow | Popup Calendar