How to add dialog/buttons into a ListCtrl? 
Author Message
 How to add dialog/buttons into a ListCtrl?

I want to display a colum of thumbnail images to show a
sequence, each image is embeded into a dialog or button. I
also need to add them into a listbox so user can scroll to
wherever in the sequence. Is there any way to do this? So
far I only know how to add strings to a listbox.


Wed, 06 Oct 2004 15:15:36 GMT  
 How to add dialog/buttons into a ListCtrl?

Quote:

> I want to display a colum of thumbnail images to show a
> sequence, each image is embeded into a dialog or button. I
> also need to add them into a listbox so user can scroll to
> wherever in the sequence. Is there any way to do this? So
> far I only know how to add strings to a listbox.

It seems like you mean a list box (a list control is not the same
thing).  A list box can be owner-drawn, which lets it display anything
you can paint.  There is an example in the CTRLTEST MFC sample in MSDN.

--
Scott McPhillips [VC++ MVP]



Wed, 06 Oct 2004 22:10:11 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. how to add edit ctrl and button into dialog dynimically

2. Adding a minimize button to an existing dialog based app

3. how can i add menu and button bar to a dialog

4. Steps to add bitmap to button in Dialog form

5. add a minimize button on the top right corner of dialog box

6. adding a Minimise button to a dialog-based app

7. Add a button dynamically on the creation of a Dialog Box

8. Adding buttons dynamically to a dialog

9. adding buttons dynamically to a dialog

10. add button to dialog dynamically

11. How do I add a tool tip to a button on a dialog

12. Adding a minimise button to a Dialog App

 

 
Powered by phpBB® Forum Software