Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: can tab control join project togehter? Pin
see me13-Jul-06 17:44
see me13-Jul-06 17:44 
GeneralRe: can tab control join project togehter? Pin
mimimimilaw13-Jul-06 17:47
mimimimilaw13-Jul-06 17:47 
GeneralRe: can tab control join project togehter? Pin
Abhi Lahare13-Jul-06 18:02
Abhi Lahare13-Jul-06 18:02 
QuestionLimiting # of columns in multi-column listbox Pin
KellyR13-Jul-06 17:15
KellyR13-Jul-06 17:15 
AnswerRe: Limiting # of columns in multi-column listbox [modified] Pin
Abhi Lahare13-Jul-06 17:36
Abhi Lahare13-Jul-06 17:36 
GeneralRe: Limiting # of columns in multi-column listbox Pin
KellyR13-Jul-06 17:44
KellyR13-Jul-06 17:44 
GeneralRe: Limiting # of columns in multi-column listbox Pin
Abhi Lahare13-Jul-06 18:01
Abhi Lahare13-Jul-06 18:01 
GeneralRe: Limiting # of columns in multi-column listbox [modified] Pin
KellyR13-Jul-06 18:10
KellyR13-Jul-06 18:10 
I'm just using LB_INSERTSTRING, like so:

HBITMAP hbmp;
hbmp = <whatever bitmap="" i'm="" inserting="" here="">
SendMessage(window, LB_INSERTSTRING, (WPARAM)item_index, (LPARAM)hbmp);

I don't know that it's a problem so much as just a default behavior, but I can't figure out how to change it and I need vertical scrolling on this list rather than horizontal, but I need multiple columns. I don't want to have to go and write a custom class to do this, there should be a simple way to just limit the # of columns, I hope..

Here's a diagram of the problem:

Assuming the listbox height is '3 items' this is what it currently does, even when the listbox width is only '5 items':

A A A A A A A A A A A A
A A A A A A A A A A A A
A A A A A A A A A A

What I WANT it to do is this:

A A A A A
A A A A A
A A A A A
A A A A A
A A A A A
A A A A A
A A A A

Where it shows the top 3 rows and the user has to scroll down to see the rest.

If there was some sort of windows message to set # of columns, or something? I've been looking but I can't seem to find one..
AnswerRe: Limiting # of columns in multi-column listbox Pin
Ryan Binns13-Jul-06 18:34
Ryan Binns13-Jul-06 18:34 
GeneralRe: Limiting # of columns in multi-column listbox Pin
KellyR13-Jul-06 18:36
KellyR13-Jul-06 18:36 
QuestionWM_TIMER Pin
thathvamsi13-Jul-06 16:48
thathvamsi13-Jul-06 16:48 
AnswerRe: WM_TIMER Pin
see me13-Jul-06 17:33
see me13-Jul-06 17:33 
Questionanti-debug product for MFC? Pin
darbien siamak13-Jul-06 16:16
darbien siamak13-Jul-06 16:16 
AnswerRe: anti-debug product for MFC? Pin
Phil.Benson13-Jul-06 21:28
professionalPhil.Benson13-Jul-06 21:28 
QuestionFilling a square? Pin
Lord Kixdemp13-Jul-06 12:49
Lord Kixdemp13-Jul-06 12:49 
AnswerRe: Filling a square? Pin
earl13-Jul-06 13:22
earl13-Jul-06 13:22 
GeneralRe: Filling a square? Pin
Lord Kixdemp13-Jul-06 16:10
Lord Kixdemp13-Jul-06 16:10 
GeneralRe: Filling a square? Pin
Rilhas17-Jul-06 12:47
Rilhas17-Jul-06 12:47 
GeneralRe: Filling a square? Pin
Lord Kixdemp18-Jul-06 12:33
Lord Kixdemp18-Jul-06 12:33 
QuestionSubclass main Winamp window from plugin Pin
u0m313-Jul-06 12:13
u0m313-Jul-06 12:13 
AnswerRe: Subclass main Winamp window from plugin Pin
Justin Tay13-Jul-06 17:47
Justin Tay13-Jul-06 17:47 
GeneralRe: Subclass main Winamp window from plugin Pin
u0m315-Jul-06 5:25
u0m315-Jul-06 5:25 
GeneralRe: Subclass main Winamp window from plugin Pin
u0m318-Jul-06 2:15
u0m318-Jul-06 2:15 
GeneralRe: Subclass main Winamp window from plugin Pin
Justin Tay18-Jul-06 3:48
Justin Tay18-Jul-06 3:48 
QuestionCan I still use DLLs ? Pin
vcpp_cgr13-Jul-06 11:49
vcpp_cgr13-Jul-06 11:49 

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.