CHotKeyCtrl::Create
BOOLCreate(DWORDdwStyle**,constRECT&rect,CWnd*pParentWnd,UINTnID);**
Return Value
Nonzero, if initialization was successful; otherwise 0.
Parameters
dwStyle
Specifies the hot key control’s style. Apply any combination of control styles.
rect
Specifies the hot key control’s size and position. It can be either a CRect object or a RECT structure.
pParentWnd
Specifies the hot key control’s parent window, usually a CDialog. It must not be NULL.
nID
Specifies the hot key control’s ID.
Remarks
You construct a CHotKeyCtrl object in two steps. First call the constructor, then call Create, which creates the hot key control and attaches it to the CHotKeyCtrl object.
CHotKeyCtrl Overview | Class Members | Hierarchy Chart
See Also CHotKeyCtrl::CHotKeyCtrl