Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

Creating bitmaps or icons at run time for a list-view control

michael_green
Beginner
382 Views

Hi All,

I would like to able to use a list-view control (in report style) to display geographical map legends in a dialog box. I would have a couple of columns displaying text in the usual way, but I'd also like the leftmost column to contain an image of some sort to represent a pattern or colour-fill on the map. For example, if the map displays national park as being diagonally hatched in green, I want a small example of this, in a box, in the list view next to the text "Natonal Park", etc, etc.

In my system there are many thousands of possible colour and hatch combinations so I would need to create this sort of thing on the fly. How do I do it? Can it even be done?

Any insights or clues as to where to do some research would be much appreciated.

With many thanks in advance,

Mike

0 Kudos
1 Reply
gelarimer
Beginner
382 Views

You might try searchingMicrosoft win32 Groups at GOOGLE, concerning list view and icons in report view.

Also, if I remember correctly,the SDK has a pretty good write up on using icons in list view's report view.If you haven't already looked at the SDK, give that a try first.

gelarimer

0 Kudos
Reply