Click here to Skip to main content
15,902,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Quick C++ Questions Pin
BlitzPackage18-Sep-06 10:35
BlitzPackage18-Sep-06 10:35 
AnswerRe: Quick C++ Questions Pin
Zac Howland18-Sep-06 10:15
Zac Howland18-Sep-06 10:15 
GeneralRe: Quick C++ Questions Pin
BlitzPackage18-Sep-06 10:34
BlitzPackage18-Sep-06 10:34 
GeneralRe: Quick C++ Questions Pin
led mike18-Sep-06 10:39
led mike18-Sep-06 10:39 
GeneralRe: Quick C++ Questions Pin
Zac Howland18-Sep-06 10:45
Zac Howland18-Sep-06 10:45 
GeneralRe: Quick C++ Questions Pin
led mike18-Sep-06 12:16
led mike18-Sep-06 12:16 
GeneralRe: Quick C++ Questions Pin
BlitzPackage18-Sep-06 16:26
BlitzPackage18-Sep-06 16:26 
QuestionWorking with a Owner Draw Fixed listbox Pin
skullfire18-Sep-06 8:42
skullfire18-Sep-06 8:42 
Well, Im making a listbox that displays thumbnails of images using a CImageList. The drawing is working fine, but I want the listbox to draw the items in a similar way to the listcontrol. For example:
------------------|^
 XXXXX    XXXXX   |-
 XXXXX    XXXXX   |
 XXXXX    XXXXX   |
 img1     img2    |
                  |
 XXXXX    XXXXX   |
 XXXXX    XXXXX   |
 XXXXX    XXXXX   |
 img3     img4    |-
------------------|v

In the ascii above (...), I want to display 2 columns of images (actually, depends on the width of the control) and only the vertical scrollbar. I tried setting the multicolumn property to true on the designer, and it kinda works, but the scroll shown is the horizontal scrollbar, and not the vertical. If I leave the control with multicolumn set to false, there is only one column and a vertical scrollbar (whatever the width of the control, the items wont be calculated to use this space...).
What can I do to accomplish my goal?

Thanks,
Andrés Cartín
AnswerRe: Working with a Owner Draw Fixed listbox Pin
Mohammad A Gdeisat18-Sep-06 9:08
Mohammad A Gdeisat18-Sep-06 9:08 
AnswerRe: Working with a Owner Draw Fixed listbox Pin
Mohammad A Gdeisat18-Sep-06 9:17
Mohammad A Gdeisat18-Sep-06 9:17 
GeneralRe: Working with a Owner Draw Fixed listbox Pin
skullfire18-Sep-06 9:42
skullfire18-Sep-06 9:42 
Question[Message Deleted] Pin
Sam 200618-Sep-06 8:02
Sam 200618-Sep-06 8:02 
AnswerRe: [URGENT] dialog.DoModal(); Pin
Zac Howland18-Sep-06 8:05
Zac Howland18-Sep-06 8:05 
AnswerRe: [URGENT] dialog.DoModal(); Pin
toxcct18-Sep-06 8:07
toxcct18-Sep-06 8:07 
QuestionRe: [Message Deleted] Pin
Hamid_RT18-Sep-06 19:41
Hamid_RT18-Sep-06 19:41 
Questionpassword Protection in vc++ Pin
amaneet18-Sep-06 7:52
amaneet18-Sep-06 7:52 
AnswerRe: password Protection in vc++ Pin
led mike18-Sep-06 8:11
led mike18-Sep-06 8:11 
Questionhiding menu items Pin
Mohammad A Gdeisat18-Sep-06 7:17
Mohammad A Gdeisat18-Sep-06 7:17 
AnswerRe: hiding menu items Pin
Christopher Duncan19-Sep-06 1:04
Christopher Duncan19-Sep-06 1:04 
AnswerRe: hiding menu items Pin
Hamid_RT19-Sep-06 9:15
Hamid_RT19-Sep-06 9:15 
Questionplaying with strings Pin
Yustme18-Sep-06 7:01
Yustme18-Sep-06 7:01 
AnswerRe: playing with strings Pin
Mohammad A Gdeisat18-Sep-06 7:22
Mohammad A Gdeisat18-Sep-06 7:22 
GeneralRe: playing with strings Pin
Yustme18-Sep-06 7:24
Yustme18-Sep-06 7:24 
GeneralRe: playing with strings Pin
Mohammad A Gdeisat18-Sep-06 7:35
Mohammad A Gdeisat18-Sep-06 7:35 
AnswerRe: playing with strings Pin
toxcct18-Sep-06 7:25
toxcct18-Sep-06 7:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.