This topic has not yet been rated - Rate this topic

CButton::SetTextMargin 

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


BOOL SetTextMargin(
   RECT* pmargin
);

Parameters

pmargin

A pointer to the new text margin.

Returns TRUE on success, FALSE on failure.

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.