This topic has not yet been rated - Rate this topic

CEdit::GetMargins

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

DWORD GetMargins( ) const;

The width of the left margin in the low-order WORD and the width of the right margin in the high-order WORD.

Margins are measured in pixels.

NoteNote:

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

For more information, see EM_GETMARGINS in the Windows SDK.

See the example for CEditView::GetEditCtrl.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.