Sign in to follow this  
Followers 0
gfunk999

List Windows Directory Folders and Files with Checkboxes

3 posts in this topic

#1 ·  Posted (edited)

I'm looking to create something similar to the Windows backup client directories check boxes structure. Could this be done with Autoit? If it is possible what functions do I need to start?

Thank you

Please see attach example:

post-24538-1193263731_thumb.jpg

Edited by gfunk999

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Yes it's possible with these as base:

_FileListToArray()

$treeview = GUICtrlCreateTreeView(6, 6, 220, 500, BitOr($TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGDROP, $TVS_SHOWSELALWAYS, $TVS_CHECKBOXES ), $WS_EX_CLIENTEDGE)

$ListView1 = GUICtrlCreateListView("Name|Type", 8, 212, 458, 364, BitOR($LVS_REPORT,$LVS_SINGLESEL,$LVS_SHOWSELALWAYS,$WS_HSCROLL,$WS_VSCROLL,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$LVS_EX_CHECKBOXES,$LVS_EX_FULLROWSELECT))
Edited by Zedna

Share this post


Link to post
Share on other sites

I appreciate your quick reply. I'll play around with this and let you know how it goes.

thank you,

Gary

Yes it's possible with these as base:

_FileListToArray()

$treeview = GUICtrlCreateTreeView(6, 6, 220, 500, BitOr($TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGDROP, $TVS_SHOWSELALWAYS, $TVS_CHECKBOXES ), $WS_EX_CLIENTEDGE)

$ListView1 = GUICtrlCreateListView("Name|Type", 8, 212, 458, 364, BitOR($LVS_REPORT,$LVS_SINGLESEL,$LVS_SHOWSELALWAYS,$WS_HSCROLL,$WS_VSCROLL,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$LVS_EX_CHECKBOXES,$LVS_EX_FULLROWSELECT))

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  
Followers 0