DynaControl::CreateControl

Description

creates a control using the holder attributes, destroys the holder window

Syntax

BOOL CreateControl( HWND hwndHolder, DWORD dwCreateOptions = 0 )

Parameters

hwndHolder
the created control uses the rect and ID from the holder. The holder itself is destroyed.
dwCreateOptions
create options like DYNACONTROL_CREATE_IN_XFBAR etc. defined in OC_Const.h

Return

returns true if successful else false

Examples

Remark

See Also

header to Include

Control.h