Creates a Windows child window and attaches it to the CBCGPEditCtrl object.
- Returns
- Nonzero if successful; otherwise 0.
You construct an edit control in two steps. First, call the constructor, which constructs the CBCGPEditCtrl object. Then call Create, which creates the Windows child window and attaches it to CBCGPEditCtrl.
- Parameters
-
dwStyle | Specifies the window style attributes. WS_POPUP cannot be used. |
rect | The size and position of the window, in client coordinates of pParentWnd. |
pParentWnd | The parent window. |
nID | The ID of the edit control child window. |
pContext | The create context of the window. |