This topic has not yet been rated - Rate this topic

CEdit::SetMargins 

Call this member function to set the left and right margins of this edit control.


void SetMargins(
   UINT nLeft,
   UINT nRight 
);

Parameters

nLeft

The width of the new left margin, in pixels.

nRight

The width of the new right margin, in pixels.

NoteNote

This member function is available beginning with Windows 95 and Windows NT 4.0.

For more information, see EM_SETMARGINS in the Platform SDK.

See the example for CEditView::GetEditCtrl.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.