Jump to content
Sign in to follow this  
chipDE

Checkbox only at BelowTreeViewItem

Recommended Posts

chipDE

Hi,

first an example:

$maintree = GUICtrlCreateTreeView(32, 48, 217, 361, BitOR($TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGDROP, $TVS_SHOWSELALWAYS, $TVS_CHECKBOXES, $WS_GROUP, $WS_TABSTOP))
$point = GUICtrlCreateTreeViewItem("first point",$maintree)
$belowpoint = GUICtrlCreateTreeViewItem("below point",$point)

In this example a checkbox are at "first point" and at "below point. Now i only want a checkbox at the "below point" not at the "first point".

Share this post


Link to post
Share on other sites
chipDE

Don't work only errors:

ERROR: $TVIF_STATE previously declared as a 'Const'

Global Const $TVIF_STATE = 0x0008

RROR: $TVIS_STATEIMAGEMASK previously declared as a 'Const'

Global Const $TVIS_STATEIMAGEMASK = 0xF000

$TV_FIRST previously declared as a 'Const'

Global Const $TV_FIRST = 0x1100

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.