VGA and TreeView and ListView checkboxes are tiny

  • Thread starter Thread starter Tim
  • Start date Start date
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
 
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);
}
 
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;
 
Back
Top