Click here to Skip to main content
15,797,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: can tab control join project togehter? Pin
see me13-Jul-06 18:44
see me13-Jul-06 18:44 
GeneralRe: can tab control join project togehter? Pin
mimimimilaw13-Jul-06 18:47
mimimimilaw13-Jul-06 18:47 
GeneralRe: can tab control join project togehter? Pin
Abhi Lahare13-Jul-06 19:02
Abhi Lahare13-Jul-06 19:02 
QuestionLimiting # of columns in multi-column listbox Pin
KellyR13-Jul-06 18:15
KellyR13-Jul-06 18:15 
AnswerRe: Limiting # of columns in multi-column listbox [modified] Pin
Abhi Lahare13-Jul-06 18:36
Abhi Lahare13-Jul-06 18:36 
GeneralRe: Limiting # of columns in multi-column listbox Pin
KellyR13-Jul-06 18:44
KellyR13-Jul-06 18:44 
GeneralRe: Limiting # of columns in multi-column listbox Pin
Abhi Lahare13-Jul-06 19:01
Abhi Lahare13-Jul-06 19:01 
GeneralRe: Limiting # of columns in multi-column listbox [modified] Pin
KellyR13-Jul-06 19:10
KellyR13-Jul-06 19: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 19:34
Ryan Binns13-Jul-06 19:34 
GeneralRe: Limiting # of columns in multi-column listbox Pin
KellyR13-Jul-06 19:36
KellyR13-Jul-06 19:36 
QuestionWM_TIMER Pin
thathvamsi13-Jul-06 17:48
thathvamsi13-Jul-06 17:48 
AnswerRe: WM_TIMER Pin
see me13-Jul-06 18:33
see me13-Jul-06 18:33 
Questionanti-debug product for MFC? Pin
darbien siamak13-Jul-06 17:16
darbien siamak13-Jul-06 17:16 
AnswerRe: anti-debug product for MFC? Pin
Phil.Benson13-Jul-06 22:28
professionalPhil.Benson13-Jul-06 22:28 
QuestionFilling a square? Pin
Lord Kixdemp13-Jul-06 13:49
Lord Kixdemp13-Jul-06 13:49 
AnswerRe: Filling a square? Pin
earl13-Jul-06 14:22
earl13-Jul-06 14:22 
GeneralRe: Filling a square? Pin
Lord Kixdemp13-Jul-06 17:10
Lord Kixdemp13-Jul-06 17:10 
GeneralRe: Filling a square? Pin
Rilhas17-Jul-06 13:47
Rilhas17-Jul-06 13:47 
GeneralRe: Filling a square? Pin
Lord Kixdemp18-Jul-06 13:33
Lord Kixdemp18-Jul-06 13:33 
QuestionSubclass main Winamp window from plugin Pin
u0m313-Jul-06 13:13
u0m313-Jul-06 13:13 
AnswerRe: Subclass main Winamp window from plugin Pin
Justin Tay13-Jul-06 18:47
Justin Tay13-Jul-06 18:47 
GeneralRe: Subclass main Winamp window from plugin Pin
u0m315-Jul-06 6:25
u0m315-Jul-06 6:25 
GeneralRe: Subclass main Winamp window from plugin Pin
u0m318-Jul-06 3:15
u0m318-Jul-06 3:15 
GeneralRe: Subclass main Winamp window from plugin Pin
Justin Tay18-Jul-06 4:48
Justin Tay18-Jul-06 4:48 
QuestionCan I still use DLLs ? Pin
vcpp_cgr13-Jul-06 12:49
vcpp_cgr13-Jul-06 12: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.