Selectable Objects

M

Mr. Mike

I'm trying to create an application very similar to
Windows Explorer using the Thumbnail view.

I've created instances of Pictureboxes within a parent
Groupbox.

How do you create a child object that is selectable? I
want to use yhe mouse to click a picturebox or drag and
drop it to another form.
 
J

Justin Rogers

You really need to use an owner drawn list box. It is the most functional way
to create a thumbnail view while getting
all of your normal selection facilities. I'll be posting some sample code on my
blog soon around using asynchronous
thumbnailing to achieve real-time list box views of thumbs. Normally your UI
hangs, but that can be overcome with some
not so obvious code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top