VGA and TreeView and ListView checkboxes are tiny

T

Tim

VStudio 2005, Framework version 2.0, Target Device WM 5.0, WM 5 SDK
installed, Dell Axim X51v

I have my forms AutoScaleMode set to Dpi, but my the TreeView expand node
plus signs are tiny, and the checkboxes are tiny also. The ListViews
checkboxes are also tiny. The overall control sizes are fine, just the
checkboxes and treeview expand graphics are displaying tiny. What am I
missing?

Tim
 
G

Guest

Yep, there is a little more to it. I created an image list and assigned the
image list to the treeControl based on VGA/QVGA

mageList imageList = new ImageList();
if (this.CurrentAutoScaleDimensions.Height >= 192)
{
size = new Size(32, 32);
imageList.ImageSize = size;

Icon image = Global.LoadIcon("notchecked32.ico");
imageList.Images.Add(image);

image = Global.LoadIcon("checked32.ico");
imageList.Images.Add(image);
}
 
G

Guest

and the else part:

else
{
size = new Size(16, 16);
imageList.ImageSize = size;

Icon image = Global.LoadIcon("notchecked16.ico");
imageList.Images.Add(image);

image = Global.LoadIcon("checked16.ico");
imageList.Images.Add(image);
}

treeViewDiagnosis.ImageList = imageList;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top