Large Icons etc. (OpenInsight 32-bit Specific)
At 13 JAN 2004 05:53:52PM B. Cameron wrote:
It is possible to have large icons in a listbox?
I am trying to do something similar to a 'Folder List' for a menuing system. I know in outlook you have the option of small or large icons. Any suggestions are appreciated. I wasn't sure if I could with the OLE control or not.
At 15 JAN 2004 05:32PM Oystein Reigem wrote:
Bruce,
If you think of large icons spread out in a grid pattern like on the desktop or in Explorer I think you must try something else than a list box. It might be sort of possible, but I doubt you'll get the functionality you need.
Here goes:
Each line (item) in a list box can start with up to four (or is it five) images, taken from a bitmap which is a long strip of all the images you need. The images can be "any" size (as long they have the same size). So they can be as large as icons. Or you might want to have them larger, to include some space around the icons. That space would have to be part of the images, I think.
Having text beneath the images might be difficult, unless the text could be included in the images.
Clicking on an image ("icon") would select the whole line (item) and not just one image. Btw - if the whole client area of the list box were covered with images you might not see the blue selection highlighting. But you'd have to do some trick to discover which image was clicked, not just which line.
The images wouldn't be movable.
- Oystein -
At 15 JAN 2004 05:34PM Oystein Reigem wrote:
Bruce,
I didn't say so explicitly, but the available images would be from a fixed set designed beforehand. And I think there's a limit to how many, like about 15 (?????).
- Oystein -
At 15 JAN 2004 06:17PM Donald Bakke wrote:
If you wait until 7.0, you will be able to put bitmaps into the edittable. This might accomplish anything you are unable to get done with the listbox control.
dbakke@srpcs.com
At 16 JAN 2004 04:23AM Colin Rule wrote:
If you want to replicate an Outlook style screen with Icons, I have done something similar.
Send me an Email @ Colin.Rule@cssp.co.uk and I will return some screen shots.
If this is what you are after, then I can advise code how to do it.
Colin
At 16 JAN 2004 04:05PM Bruce Cameron wrote:
Thanks for the responses. I have been using bitmaps for a while now (smaller ones, 5 different images in the same bitmap) for a menuing system. Since we are doing a new release I wanted the first impression of the software to look or at least have the option for something new.