Click here to Skip to main content
15,910,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to select a item in a listbox? Pin
valikac5-Oct-02 6:14
valikac5-Oct-02 6:14 
GeneralRe: How to select a item in a listbox? Pin
chen5-Oct-02 6:28
chen5-Oct-02 6:28 
GeneralRe: How to select a item in a listbox? Pin
valikac5-Oct-02 6:31
valikac5-Oct-02 6:31 
Questionhow to detect scrollbars (horizontal) in CListCtrl? Pin
nss5-Oct-02 4:00
nss5-Oct-02 4:00 
AnswerRe: how to detect scrollbars (horizontal) in CListCtrl? Pin
valikac5-Oct-02 5:42
valikac5-Oct-02 5:42 
AnswerGot scrollbars? Pin
Ravi Bhavnani5-Oct-02 6:05
professionalRavi Bhavnani5-Oct-02 6:05 
GeneralRe: Got scrollbars? Pin
nss5-Oct-02 6:21
nss5-Oct-02 6:21 
GeneralRe: Got scrollbars? Pin
Ravi Bhavnani5-Oct-02 7:21
professionalRavi Bhavnani5-Oct-02 7:21 
Hmm, you could try using one of SPI_ constants (none seemed obvious) in GetSystemMetrics() to get the height of the list control's header control, and use this value to resize the control.

Alternatively, you could just hide the list control and show a dummy one (of fixed height) with the same columns.

But if you want my honest opinion Smile | :) the concept of a list control that changes its height seems suspect at first glance.

/ravi

Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
GeneralRe: Got scrollbars? Pin
nss5-Oct-02 7:29
nss5-Oct-02 7:29 
GeneralHelp with property pages Pin
DanYELL5-Oct-02 2:34
DanYELL5-Oct-02 2:34 
GeneralRe: Help with property pages Pin
Ravi Bhavnani5-Oct-02 10:59
professionalRavi Bhavnani5-Oct-02 10:59 
GeneralActiveX in VC++ client in VB Pin
Shahbaba5-Oct-02 0:02
Shahbaba5-Oct-02 0:02 
GeneralRe: ActiveX in VC++ client in VB Pin
Roger Stewart5-Oct-02 18:10
professionalRoger Stewart5-Oct-02 18:10 
GeneralHelpFile Pin
Thushara4-Oct-02 22:38
Thushara4-Oct-02 22:38 
GeneralRe: HelpFile Pin
Ravi Bhavnani5-Oct-02 11:01
professionalRavi Bhavnani5-Oct-02 11:01 
QuestionHow to "SendMessage" to a listbox in a dialog class? Pin
oRion4-Oct-02 22:26
oRion4-Oct-02 22:26 
AnswerRe: How to "SendMessage" to a listbox in a dialog class? Pin
Mike Nordell4-Oct-02 22:52
Mike Nordell4-Oct-02 22:52 
GeneralRe: How to "SendMessage" to a listbox in a dialog class? Pin
oRion5-Oct-02 3:46
oRion5-Oct-02 3:46 
GeneralRe: How to "SendMessage" to a listbox in a dialog class? Pin
Pavel Klocek5-Oct-02 4:20
Pavel Klocek5-Oct-02 4:20 
GeneralRe: How to "SendMessage" to a listbox in a dialog class? Pin
Mike Nordell5-Oct-02 4:23
Mike Nordell5-Oct-02 4:23 
GeneralRe: How to "SendMessage" to a listbox in a dialog class? Pin
oRion6-Oct-02 3:29
oRion6-Oct-02 3:29 
GeneralCustom make under Visual Studio Pin
Dmitry Nev4-Oct-02 22:04
sussDmitry Nev4-Oct-02 22:04 
GeneralRe: Custom make under Visual Studio Pin
Anonymous4-Oct-02 23:32
Anonymous4-Oct-02 23:32 
GeneralStatic_cast Pin
suresh_sathya4-Oct-02 20:34
suresh_sathya4-Oct-02 20:34 
GeneralRe: Static_cast Pin
Roman Stefanov4-Oct-02 20:56
Roman Stefanov4-Oct-02 20:56 

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.