Condividi tramite


CMFCDesktopAlertWnd::SetSmallCaption

Switches between small and regular-size captions.

void SetSmallCaption(
    BOOL bSmallCaption = TRUE
);

Parameters

  • [in] bSmallCaption
    TRUE to specify that the alert window displays a small caption; otherwise, FALSE to specify that the alert window displays a regular-size caption.

Remarks

Call this method to display the small or regular-size caption. By default, the small caption is 7 pixels high. You can obtain the size of the regular caption by calling the Windows API function GetSystemMetrics(SM_CYCAPTION).

Requirements

Header: afxDesktopAlertWnd.h

See Also

Reference

CMFCDesktopAlertWnd Class

Hierarchy Chart