Jump to content

Recommended Posts

Posted

Hello All,

Quick... and hopefully easy question for you. I have a Treeview set with the TVS_CHECKBOXES style, and I want some items to be checked by default, and some to be unchecked. Is such a thing possible?

Hopefully my question makes sense. Thanks for your help.

Cheers.

Posted

Hello All,

Quick... and hopefully easy question for you. I have a Treeview set with the TVS_CHECKBOXES style, and I want some items to be checked by default, and some to be unchecked. Is such a thing possible?

Hopefully my question makes sense. Thanks for your help.

Cheers.

GUICtrlCreateTreeViewItem($text, $TreeView1)
If "some condition" Then GUICtrlSetState(-1, $GUI_CHECKED)

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
×
×
  • Create New...