Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About scrollbar of CScrollView Pin
cash57626-Apr-05 18:19
cash57626-Apr-05 18:19 
GeneralRe: About scrollbar of CScrollView Pin
PJ Arends26-Apr-05 18:56
professionalPJ Arends26-Apr-05 18:56 
GeneralRe: About scrollbar of CScrollView Pin
cash57626-Apr-05 19:28
cash57626-Apr-05 19:28 
GeneralRe: About scrollbar of CScrollView Pin
PJ Arends26-Apr-05 20:12
professionalPJ Arends26-Apr-05 20:12 
GeneralIs their a easier way to make windows forms inc++ Pin
FocusedWolf26-Apr-05 5:04
FocusedWolf26-Apr-05 5:04 
GeneralRe: Is their a easier way to make windows forms inc++ Pin
toxcct26-Apr-05 5:53
toxcct26-Apr-05 5:53 
GeneralMFC DLL Pin
Manoj Jangid26-Apr-05 4:54
Manoj Jangid26-Apr-05 4:54 
GeneralProblem with vertical scrolling in listview Pin
Paul Vickery26-Apr-05 4:25
professionalPaul Vickery26-Apr-05 4:25 
Hi,

I have a ListView in which I have used WM_NCCALCSIZE to give me an area at the top where I can draw my own info (above the header). This is fine except that it messes up the vertical scrolling. The last list item (in report view) doesn't appear. (My additional NC area is about 18 pixels high, which is about the height of one item.)

It seems that the ListView still thinks its client area is the original size, and so does not allow scrolling down as far as the last line. I have tried using SetScrollInfo to increase its max scroll point, and this works in that I can click down and see the last line appear, but on releasing the mouse, it jumps back up a line, and reverts to the original scroll-bar behaviour.

Does anyone have any ideas on how I can fix this? (If I apply the same code to other types of control they work fine, it's just listviews that don't.)

Thanks,

Paul.



"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
GeneralRe: Problem with vertical scrolling in listview Pin
PJ Arends26-Apr-05 12:25
professionalPJ Arends26-Apr-05 12:25 
GeneralRe: Problem with vertical scrolling in listview Pin
Paul Vickery27-Apr-05 2:24
professionalPaul Vickery27-Apr-05 2:24 
GeneralChanging font sizes in c++ Pin
garysrobbo26-Apr-05 2:08
garysrobbo26-Apr-05 2:08 
GeneralRe: Changing font sizes in c++ Pin
ThatsAlok26-Apr-05 2:19
ThatsAlok26-Apr-05 2:19 
GeneralRe: Changing font sizes in c++ Pin
Jason Henderson26-Apr-05 3:42
Jason Henderson26-Apr-05 3:42 
Generalproxy + NTLM Pin
Geert van Horrik26-Apr-05 1:18
Geert van Horrik26-Apr-05 1:18 
QuestionHow to unload dlls Pin
Anonymous26-Apr-05 0:54
Anonymous26-Apr-05 0:54 
AnswerRe: How to unload dlls Pin
stolid_rock26-Apr-05 1:13
stolid_rock26-Apr-05 1:13 
GeneralRe: How to unload dlls Pin
Anonymous26-Apr-05 1:22
Anonymous26-Apr-05 1:22 
AnswerRe: How to unload dlls Pin
ThatsAlok26-Apr-05 1:37
ThatsAlok26-Apr-05 1:37 
AnswerRe: How to unload dlls Pin
22491726-Apr-05 1:47
22491726-Apr-05 1:47 
QuestionHow to get drive volume serial number in VC++ Pin
aloktambi26-Apr-05 0:52
aloktambi26-Apr-05 0:52 
AnswerRe: How to get drive volume serial number in VC++ Pin
ThatsAlok26-Apr-05 1:21
ThatsAlok26-Apr-05 1:21 
AnswerRe: How to get drive volume serial number in VC++ Pin
David Crow26-Apr-05 3:40
David Crow26-Apr-05 3:40 
GeneralFile handles Pin
micutzu25-Apr-05 23:14
micutzu25-Apr-05 23:14 
GeneralRe: File handles Pin
22491725-Apr-05 23:35
22491725-Apr-05 23:35 
GeneralRe: File handles Pin
micutzu25-Apr-05 23:51
micutzu25-Apr-05 23:51 

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.