Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: LGPL query Pin
Sebastian Pipping22-Feb-06 15:40
Sebastian Pipping22-Feb-06 15:40 
QuestionPassing Arrays of structures from VB.NET to unmanaged C++ Pin
CPop22-Feb-06 5:45
CPop22-Feb-06 5:45 
QuestionListview controls Pin
Waldermort22-Feb-06 5:23
Waldermort22-Feb-06 5:23 
AnswerRe: Listview controls Pin
Joe Woodbury22-Feb-06 5:41
professionalJoe Woodbury22-Feb-06 5:41 
AnswerRe: Listview controls Pin
Gavin Taylor22-Feb-06 6:07
professionalGavin Taylor22-Feb-06 6:07 
AnswerRe: Listview controls Pin
Sebastian Pipping22-Feb-06 10:32
Sebastian Pipping22-Feb-06 10:32 
GeneralRe: Listview controls Pin
Waldermort22-Feb-06 15:13
Waldermort22-Feb-06 15:13 
AnswerRe: Listview controls Pin
Sebastian Pipping22-Feb-06 15:30
Sebastian Pipping22-Feb-06 15:30 
i'm not sure if it got you right but i guess
number 2 is what i meant

i'll try again with more details:
my column contains numbers from 1 to 4000.
when the current view is at the very top you can
only see numbers with one or tow digits.

applying LVSCW_AUTOSIZE now sets the
size to two digits not four since the big number
are out of view and ignored.

maybe i should mention my column header
has "#" as title so it is even shorter than
the numbers. i'm not sure what happens if the
header text is longer than all the row text.
i'm using the control in virtual/getdispinfo mode
maybe that's also playing in here!?

btw i had trouble with two-digit numbers shown
as "1..." so the current text width code is
const int iWidth = res ? ( int )( size.cx * ( _iDigits + 0.25f ) ) : 120;

i hope i put it clearly. i'm not a native speaker.


best regards, sebastian

-------------------------------------------
My website: http://www.hartwork.org
GeneralRe: Listview controls Pin
Waldermort23-Feb-06 1:09
Waldermort23-Feb-06 1:09 
QuestionCComboBox dropdown bit is hidden Pin
rw10422-Feb-06 4:18
rw10422-Feb-06 4:18 
AnswerRe: CComboBox dropdown bit is hidden Pin
Iain Clarke, Warrior Programmer22-Feb-06 4:52
Iain Clarke, Warrior Programmer22-Feb-06 4:52 
GeneralRe: CComboBox dropdown bit is hidden Pin
rw10422-Feb-06 4:56
rw10422-Feb-06 4:56 
Questiondrawing problem Pin
Deviantizh22-Feb-06 4:06
Deviantizh22-Feb-06 4:06 
AnswerRe: drawing problem Pin
Cedric Moonen22-Feb-06 4:33
Cedric Moonen22-Feb-06 4:33 
QuestionDumb question of the week C pointer question. Pin
Maximilien22-Feb-06 3:27
Maximilien22-Feb-06 3:27 
AnswerRe: Dumb question of the week C pointer question. Pin
Cedric Moonen22-Feb-06 3:34
Cedric Moonen22-Feb-06 3:34 
GeneralRe: Dumb question of the week C pointer question. Pin
Sebastian Schneider22-Feb-06 4:19
Sebastian Schneider22-Feb-06 4:19 
GeneralRe: Dumb question of the week C pointer question. Pin
Maximilien22-Feb-06 4:40
Maximilien22-Feb-06 4:40 
AnswerRe: Dumb question of the week C pointer question. Pin
Sebastian Schneider22-Feb-06 4:13
Sebastian Schneider22-Feb-06 4:13 
GeneralRe: Dumb question of the week C pointer question. Pin
Maximilien22-Feb-06 4:45
Maximilien22-Feb-06 4:45 
QuestionApp Path - how to get it Pin
miqel22-Feb-06 3:16
miqel22-Feb-06 3:16 
AnswerRe: App Path - haw to get it Pin
krmed22-Feb-06 3:21
krmed22-Feb-06 3:21 
GeneralRe: App Path - haw to get it Pin
miqel22-Feb-06 3:45
miqel22-Feb-06 3:45 
AnswerRe: App Path - haw to get it Pin
James R. Twine22-Feb-06 3:59
James R. Twine22-Feb-06 3:59 
AnswerRe: App Path - how to get it Pin
David Crow22-Feb-06 7:00
David Crow22-Feb-06 7:00 

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.