Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

tiling bitmaps in a listbox

how can i tile my bitmaps into a listbox, where it will look like a collection of thumbnails and there is a colour cursor surrounding each of the bitmaps?
i also need a button to add and delete from the listbox.
can it be done in a listbox or do i have to use the listview and imagelist control?  
0
tyj
Asked:
tyj
1 Solution
 
idcanadaCommented:

Listboxes can NOT be formated in any way to do the things you have mentioned
above. You might think so, but do take a good look at Office.
The font combobox does NOT contain any items. It simply pops up the ListView
control.

This is how you will achieve what you want.
Use the ListView, and place it on a stand alone form.
Pop it up as needed.

0
 
tyjAuthor Commented:
can the listview accepts list of bitmaps? how do i refer each of the bitmaps? i would prefer to refer the bitmaps in an array...
can you give me an example on how to do it?
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now