CMFCDesktopAlertWnd::HasSmallCaption

Determines whether the desktop alert window has a small caption or a regular-size caption.

BOOL HasSmallCaption() const;

Return Value

TRUE if the popup window is displayed with a small caption; FALSE if the popup window is displayed with a regular-sized caption.

Remarks

Use this method to determine whether the popup window has a small caption or a regular-size caption. By default, the small caption is 7 pixels high. You can obtain the height of the regular-size caption by calling the Windows API function GetSystemMetrics(SM_CYCAPTION).

Requirements

Header: afxDesktopAlertWnd.h

See Also

Reference

CMFCDesktopAlertWnd Class

Hierarchy Chart