Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SysTreeView32 show folder contents and QM folder contents
#31
This might be a huge request (maybe already asked, but could not find), so please skip it if it will take to much time.
Is it possible for the windows systree (SelectFileDialogWithTreeview) and QM folder enumeration systree (SelectQmItemDialogWithTreeview) to render the each item with it's own default icon?

With default icon I mean, for the "SelectFileDialogWithTreeview", each item within windows has it's default icon.
And within QM a Macro has a green icon, function has a blue icon and a folder has ayellow folder icon, etc...

Again if it's to much work, then skip this.
#32
Create imagelist with __ImageList class.
Add file icons (GetFileIcon/DestroyIcon) or item icons (__GetQmItemIcon/DestroyIcon) to the imagelist.
Assign the imagelist to the treeview control with message TVM_SETIMAGELIST or similar, don't remember exact name.
__ImageList variable lifetime must be >= dialog lifetime.
#33
OK! Thank you!


Forum Jump:


Users browsing this thread: 3 Guest(s)