BCGControlBar Pro for MFC
virtual int CBCGPPopupWindow::GetCaptionHeight ( )
virtual

Returns the caption height

This method can be overridden in a derived class. The default implementation returns the nSmallCaptionHeight value, which is 7 pixels if the popup window should display the small caption, or the value obtained from GetSystemMetrics (SM_CYSMCAPTION);