Export (0) Print
Expand All

CButton::GetTextMargin

Call this method to get the text margin of the CButton object.

BOOL GetTextMargin( 
   RECT* pmargin  
);

pmargin

A pointer to the text margin of the CButton object.

Returns the text margin.

Nonzero if successful; otherwise 0.

This member function emulates the functionality of the BCM_GETTEXTMARGIN message, as described in the Buttons section of the Windows SDK.

Header: afxwin.h

Show:
© 2014 Microsoft