Partager via


CMFCDesktopAlertWnd::GetCaptionHeight

Returns the height of the caption.

virtual int GetCaptionHeight();

Return Value

The height, in pixels, of the caption.

Remarks

This method can be overridden in a derived class. The default implementation either: returns the small caption height value (7 pixels) if the popup window should display the small caption, or the value obtained from the Windows API function GetSystemMetrics(SM_CYSMCAPTION).

Requirements

Header: afxDesktopAlertWnd.h

See Also

Reference

CMFCDesktopAlertWnd Class

Hierarchy Chart