Previous Up Next

_CRcompCheck
Creation of a CompCheck

CompCheck _CRcompCheck (
Chn _channel_
ObjContainer _container_
ObjNode _father_
[I I] _coordinates_
I _flags_
I _filterflags_
AlphaBitmap _resource_
)
Parameters

_channel_
proprietary channel
_container_
container in which to create the object
_father_
father ObjNode
_coordinates_
object coordinates in container
_flags_
can be a combination of following values :
Value Meaning
OBJ_ENABLE object is enabled
OBJ_DISABLE object is disabled
OBJ_HIDE object is hidden
OBJ_VISIBLE object is visible
OBJ_CBNOPAINT object is not repaint before user callbacks
OBJ_LW_FLEX left margin from container border to object is flexible
OBJ_MW_FLEX object width is flexible
OBJ_RW_FLEX right margin from object to container border is flexible
OBJ_LH_FLEX top margin from container to object is flexible
OBJ_MH_FLEX object height is flexible
OBJ_RH_FLEX bottom margin from object to container is flexible
ROL_DISABLE object has a disabled state
ROL_MASK object has a mask state
_filterflags_
defines how events are relayed to container, can be any combination of following values :
Value Meaning
OBJ_CONTAINER_CLICK mouse click event is relayed to container click callback
OBJ_CONTAINER_UNCLICK mouse unclick event is relayed to container unclick callback
OBJ_CONTAINER_DBLCLICK mouse double-click event is relayed to container double-click callback
OBJ_CONTAINER_KEYUP keyup event is relayed to container keyup callback
OBJ_CONTAINER_KEYDOWN keydown event is relayed to container keydown callback
OBJ_CONTAINER_MOUSEWHEEL mouse wheel event is relayed to container mouse wheel callback
OBJ_CONTAINER_MOVE mouse move event is relayed to container mouse move callback
_resource_
graphic resource
Return value

new CompCheck