[Solved] dcl_Tree_GetItemImages and Image List

Started by Peter2, November 11, 2014, 01:50:21 PM

Previous topic - Next topic

Peter2

If I understand it correctly the "Image List" uses icons from Windows. Is there an example / a collection which displays which icons are used where?

Thanks

Peter
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

#1
I'm not sure I understand the question. A tree control has an image list, but you determine which icons it contains by setting the control's Image List property in OpenDCL Studio.
Owen Wengerd (Outside The Box) / ManuSoft

Peter2

#2
Hi Owen

the basic question is: Where do the icons come from?

I looked at the "Samples" of OpenDCL and to Tree.lsp and Tree.odcl and have no idea where the icons come from. The string "dcl-Tree-SetItemImages" is not used in the entire "Samples"-folder.

EDIT:
The string dcl_Tree_SetItemImages is used in "tree.lsp"
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Peter2

Quote from: owenwengerd on November 11, 2014, 06:32:45 PM...which icons it contains by setting the control's Image List property in OpenDCL Studio.
Where? How? What????
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Peter2

Quote from: Peter2 on November 12, 2014, 01:23:45 AMWhere? How? What????
Solved.
I was confused about the "Windows System Objects (Collection)" and the lisp-examples, but it is a "simple" property of the control.

Got it - sorry for the confusion.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10