Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this member function to retrieve the left and right margins of this edit control.
DWORD GetMargins( ) const;
Return Value
The width of the left margin in the low-order WORD and the width of the right margin in the high-order WORD.
Remarks
Margins are measured in pixels.
Note
This member function is available beginning with Windows 95 and Windows NT 4.0.
For more information, see EM_GETMARGINS in the Windows SDK.
Example
See the example for CEditView::GetEditCtrl.
Requirements
Header: afxwin.h