Older Newer
Sat, 28 Jan 2006 11:16:04 . . . . c51471083.cable.wanadoo.nl


Changes by last author:

Added:
= setCtlProperties =

== Syntax ==

:setCtlProperties(int n, int properties)

== Arguments ==

:n

::The index of the control whose properties you wish to change.

:properties

::The properties you wish to set in the control.

== Description ==

:This function sets the properties of a control. The properties to be set should be specified in the second argument. To remove a property from a control, use clearCtlProperties.

:The following properties are available:

:*CTP_PREVIEWDRAG

:*CTP_MOUSEMOVE

:*CTP_DRAWITEM

:*CTP_CONTEXTMENU

:*CTP_MOUSEOVER

:*CTP_EXTENDEDUI

:*CTP_SIDE_MASK

:*CTP_RIGHT

:*CTP_LEFT

:*CTP_BOTTOM

:*CTP_TOP

:*CTP_ORIENT_MASK

:*CTP_VERT

:*CTP_HORZ

:*CTP_READONLY

:*CTP_TRACK

== Example ==

:setCtlProperties(6, CTP_TRACK); // Enable tracking for this control

== Also see ==

:clearCtlProperties

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.