Click to See Complete Forum and Search --> : ImageList and VSFlexgrid


altinbay
October 7th, 2001, 09:35 AM
I have inherited a situation where an ImageList control is being used
to provide images for a VSFlexgrid control. My problem is that the
images are loaded in from elsewhere as 32x32, but we need to display
them on the grid (fg.cell(flexcpPicture, ...)) in 16x16. They show up
larger, so that only portions can be seen.

I've checked code in other places, and the same mechanism is being
used, only with a TreeView control, and it's displaying fine. These
images have to be in the larger size, they're used in both sizes.

I've checked the ImageList properties, and ImageHeight and ImageWidth
are both 16.

Does anyone know how I can get the pictures to show up smaller on the
flexgrid?