|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Creates a control (a child window) and associates it with the CRichEditCtrl object.
virtual BOOL CreateEx( DWORD dwExStyle, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );
Specifies the extended style of the control being created. For a list of extended Windows styles, see the dwExStyle parameter for CreateWindowEx in the Platform SDK.
A reference to a RECT structure describing the size and position of the window to be created, in client coordinates of pParentWnd.
A pointer to the window that is the control's parent.
The control's child-window ID.