2.2.6.4.4 CodeEdit::CreateControl

Description

creates the actual control


creates the actual control

Syntax

bool CreateControl( HWND hWndParent, RECT & rect, int nID )


bool CreateControl( HWND hWndHolder )

Parameters

hWndParent
parent of the newly created window
rect
the window rect of the control in parents client coordinates
nID
control ID of the new window


hWndHolder
a holder window, the method replaces the holder window with the new one

Return

returns non zero if successful else zero


returns non zero if successful else zero

Examples

Remark

See Also

Header to Include

Control.h