MSDN Home >  MSDN Library >  User Interface Design and Development >  Windows Shell >  Windows Controls >  Individual Control Information >  Rich Edit Controls > 

EM_SETPAGEROTATE Message


Deprecated. An application sends an EM_SETPAGEROTATE message to set the text layout for a Microsoft Rich Edit control.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns DWORD in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) EM_SETPAGEROTATE,     // message ID
   (WPARAM) wParam,     // = (WPARAM) (DWORD) wParam;
   (LPARAM) lParam     // = 0; not used, must be zero
);

Parameters

wParam
Text layout value. This can be one of the following values.
EPR_0
Text flows from left to right and from top to bottom.
EPR_90
Text flows from left to right and from bottom to top.
EPR_180
Reserved.
EPR_270
Reserved.
lParam
Not used; must be zero.

Return Value

Return value is the new text layout value.

Remarks

This message sets the text layout for the entire document. However, embedded contents are not rotated and must be rotated separately by the application.

Note  EM_SETPAGEROTATE is available in Microsoft Windows XP. It might be altered or unavailable in subsequent versions.

Message Information

Minimum DLL Versionmsftedit.dll
HeaderDeclared in Richedit.h
Minimum operating systems Windows XP SP1

See Also

Rich Edit Controls, EM_GETPAGEROTATE
 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 © 2003 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility