Click here to Skip to main content
16,004,991 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Subclassing ListBox so as to provide functionality of both single selection and multiple selection list box Pin
David Crow18-Jan-05 7:07
David Crow18-Jan-05 7:07 
GeneralRe: Subclassing ListBox so as to provide functionality of both single selection and multiple selection list box Pin
Close Network18-Jan-05 13:05
Close Network18-Jan-05 13:05 
GeneralRe: Subclassing ListBox so as to provide functionality of both single selection and multiple selection list box Pin
David Crow19-Jan-05 2:52
David Crow19-Jan-05 2:52 
GeneralRe: Subclassing ListBox so as to provide functionality of both single selection and multiple selection list box Pin
HurricaneFlossie18-Jan-05 7:32
HurricaneFlossie18-Jan-05 7:32 
GeneralPerformance Graph... Pin
utkumanyaksalak18-Jan-05 6:56
utkumanyaksalak18-Jan-05 6:56 
QuestionHow to Detect Presence of a Scrollbar Pin
HurricaneFlossie18-Jan-05 5:54
HurricaneFlossie18-Jan-05 5:54 
AnswerRe: How to Detect Presence of a Scrollbar Pin
Tom Wright18-Jan-05 10:35
Tom Wright18-Jan-05 10:35 
GeneralRe: How to Detect Presence of a Scrollbar Pin
HurricaneFlossie18-Jan-05 11:01
HurricaneFlossie18-Jan-05 11:01 
Tom,

I can use LVSCW_AUTOSIZE_USEHEADER with WTL/ATL also, but this only autosizes the column when I doubleclick on the header. Otherwise, the autosize parameter does not do anything. I need it to size the column appropriately on initialization, and after data has been added to the listbox and there may or may not be a vertical scrollbar present.

Maybe I can simulate doubleclicking on the header? Or am I doing something wrong? I'm trying to avoid a horizontal scrollbar across the bottom, by setting the column width just right.

BTW, we are converting our app to ATL/WTL from MFC because of the overhead of MFC. Although this particular piece of functionality is new.

Thanks for the response.


Some people see things that are and ask, Why? Some people dream of things that never were and ask, Why not? Some people have to go to work and don't have time for all that ...
Author: George Carlin


AnswerRe: How to Detect Presence of a Scrollbar Pin
Shog918-Jan-05 10:59
sitebuilderShog918-Jan-05 10:59 
GeneralRe: How to Detect Presence of a Scrollbar Pin
HurricaneFlossie18-Jan-05 11:28
HurricaneFlossie18-Jan-05 11:28 
GeneralRe: How to Detect Presence of a Scrollbar Pin
Tom Wright18-Jan-05 12:38
Tom Wright18-Jan-05 12:38 
GeneralAuto left click Pin
Raylan18-Jan-05 4:36
Raylan18-Jan-05 4:36 
GeneralRe: Auto left click Pin
Blake Miller18-Jan-05 4:44
Blake Miller18-Jan-05 4:44 
GeneralRe: Auto left click Pin
User 665818-Jan-05 6:18
User 665818-Jan-05 6:18 
GeneralRe: Auto left click Pin
Shog918-Jan-05 11:11
sitebuilderShog918-Jan-05 11:11 
Generalsoftware protection Pin
includeh1018-Jan-05 4:17
includeh1018-Jan-05 4:17 
GeneralRe: software protection Pin
Tom Wright18-Jan-05 7:22
Tom Wright18-Jan-05 7:22 
GeneralRe: software protection Pin
includeh1018-Jan-05 18:38
includeh1018-Jan-05 18:38 
GeneralHyperlinks into afxcore.rtf Pin
José Luis Sogorb18-Jan-05 4:10
José Luis Sogorb18-Jan-05 4:10 
GeneralMFC manipulating data Pin
hugPW18-Jan-05 1:33
hugPW18-Jan-05 1:33 
GeneralRe: MFC manipulating data Pin
Selvam R18-Jan-05 2:28
professionalSelvam R18-Jan-05 2:28 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 3:46
hugPW18-Jan-05 3:46 
GeneralRe: MFC manipulating data Pin
David Crow18-Jan-05 4:13
David Crow18-Jan-05 4:13 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 5:19
hugPW18-Jan-05 5:19 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 6:05
hugPW18-Jan-05 6:05 

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.