Treeview image help

Treeview image help

Anonymous
Not applicable
266 Views
4 Replies
Message 1 of 5

Treeview image help

Anonymous
Not applicable
I have created an Treeview control and have populated it and applied an
imagelist to it. My only problems is the icons show up really small. I
know they are the correct size. Am I missing a size that needs to be input
for the Image or node.
If i have Style set to (2 Plus/minus and text) i see the plus/minus at the
correct size but when i change it to (7 Lines, plus/minus, image, and text.)
the plus/minus and all subsequent images are half the size.

Any help would be appreciated.

--
-------------------------------------------------------------------------
Rob Starz
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
!!!! DormerX out in Sept !!!!
http://www.stardsign.com/main.htm
0 Likes
267 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
forget it...I figure it out. I needed to remove all images from my
ImageList and set the size and then insert the images and all looks great

--
-------------------------------------------------------------------------
Rob Starz
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
!!!! DormerX out in Sept !!!!
http://www.stardsign.com/main.htm
"Rob Starz" wrote in message
news:2E80AD96F27C1871D8AD307A1F963C36@in.WebX.maYIadrTaRb...
> I have created an Treeview control and have populated it and applied an
> imagelist to it. My only problems is the icons show up really small. I
> know they are the correct size. Am I missing a size that needs to be
input
> for the Image or node.
> If i have Style set to (2 Plus/minus and text) i see the plus/minus at the
> correct size but when i change it to (7 Lines, plus/minus, image, and
text.)
> the plus/minus and all subsequent images are half the size.
>
> Any help would be appreciated.
>
> --
> -------------------------------------------------------------------------
> Rob Starz
> Plogv 3.0 & 2000 (plot logging) for r14 & 2000
> ***Enhancement Tools for Arch. Desktop *****
> !!!! DormerX out in Sept !!!!
> http://www.stardsign.com/main.htm
>
>
0 Likes
Message 3 of 5

Anonymous
Not applicable
Rob, What size images are you using? I believe the treeview can only hanlde
16x16 images, but it doesn't sound like this is the problem from what you've
stated. Your imagelist does not have a conflicting setting perhaps, does it?
One more question, what version of "Windows Common Controls" (component
which treeview is defined in) are you using in your project.

Regards,
Jacob Dinardi

Rob Starz wrote in message
news:2E80AD96F27C1871D8AD307A1F963C36@in.WebX.maYIadrTaRb...
I have created an Treeview control and have populated it and applied an
imagelist to it. My only problems is the icons show up really small. I
know they are the correct size. Am I missing a size that needs to be input
for the Image or node.
If i have Style set to (2 Plus/minus and text) i see the plus/minus at the
correct size but when i change it to (7 Lines, plus/minus, image, and text.)
the plus/minus and all subsequent images are half the size.

Any help would be appreciated.

--
-------------------------------------------------------------------------
Rob Starz
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
!!!! DormerX out in Sept !!!!
http://www.stardsign.com/main.htm
0 Likes
Message 4 of 5

Anonymous
Not applicable
We should all follow Rob's example here by posting answers here on the NG,
even if we answer our own questions. This keeps me from having to clutter
the NG with the, "Can you share with the rest of us?, type posts. Thanks
Rob, on my to-do list is a routine that will utilize the tree tool and
you've helped me to avoid one of the many problems that I'm sure I'll have
:-)
--
Bobby C. Jones
0 Likes
Message 5 of 5

Anonymous
Not applicable
what is a "treeview" control?
if it is what I think it is, I definitely want to start utilizing it.

crash course on setting one up?

I assume that it is not included in vanilla acad VBA.
attach a certain reference library?



"Rob Starz" wrote in message
news:2E80AD96F27C1871D8AD307A1F963C36@in.WebX.maYIadrTaRb...
> I have created an Treeview control and have populated it and applied an
> imagelist to it. My only problems is the icons show up really small. I
> know they are the correct size. Am I missing a size that needs to be
input
> for the Image or node.
> If i have Style set to (2 Plus/minus and text) i see the plus/minus at the
> correct size but when i change it to (7 Lines, plus/minus, image, and
text.)
> the plus/minus and all subsequent images are half the size.
>
> Any help would be appreciated.
>
> --
> -------------------------------------------------------------------------
> Rob Starz
> Plogv 3.0 & 2000 (plot logging) for r14 & 2000
> ***Enhancement Tools for Arch. Desktop *****
> !!!! DormerX out in Sept !!!!
> http://www.stardsign.com/main.htm
>
>
0 Likes