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

C / C++ / MFC

 
GeneralRe: Borland vs Microsoft Pin
Jamie Nordmeyer2-Aug-01 5:41
Jamie Nordmeyer2-Aug-01 5:41 
GeneralRe: Borland vs Microsoft Pin
Steve Thresher1-Aug-01 23:02
Steve Thresher1-Aug-01 23:02 
GeneralRe: Borland vs Microsoft Pin
Tim Deveaux2-Aug-01 4:44
Tim Deveaux2-Aug-01 4:44 
GeneralRe: Borland vs Microsoft Pin
Christian Graus2-Aug-01 13:13
protectorChristian Graus2-Aug-01 13:13 
GeneralCrystal Report 8.0 ... Pin
Hadi Rezaee1-Aug-01 22:30
Hadi Rezaee1-Aug-01 22:30 
GeneralRe: Crystal Report 8.0 ... Pin
2-Aug-01 3:20
suss2-Aug-01 3:20 
GeneralRe: Crystal Report 8.0 ... Pin
Hadi Rezaee3-Aug-01 17:59
Hadi Rezaee3-Aug-01 17:59 
GeneralScrollbar Pin
confalonieri1-Aug-01 22:10
confalonieri1-Aug-01 22:10 
Hi.

I'm trying to manage a listbox vertical scroll bar and I have a problem with the function OnVScroll when I drag the scroll box.

In OnVScroll(), when the first parameter nSBCode is SB_THUMBPOSITION or SB_THUMBTRACK, the second parameter nPos is expected to indicate the position of the scroll box. nPos (which is a UINT) can be cast to an int, and then I realized that after 32768, (int) nPos is -32768 ! Then, (int) nPos increases up to 32768 and then -32768 again !!!

How should I proceed to manage the scroll box position when the range of my vertical scroll bar is over 32768 ?

Thanks.

GeneralRe: Scrollbar Pin
Tomasz Sowinski2-Aug-01 1:21
Tomasz Sowinski2-Aug-01 1:21 
Questionhow calculate a length of time? Pin
Gérald Mercet1-Aug-01 21:57
Gérald Mercet1-Aug-01 21:57 
AnswerRe: how calculate a length of time? Pin
Tomasz Sowinski2-Aug-01 1:04
Tomasz Sowinski2-Aug-01 1:04 
GeneralVisual C++ Pin
G.S.Gupta1-Aug-01 21:22
G.S.Gupta1-Aug-01 21:22 
GeneralRe: Visual C++ Pin
Tomasz Sowinski2-Aug-01 1:30
Tomasz Sowinski2-Aug-01 1:30 
QuestionGDI+ from June SDK CD ??? Pin
Christian Graus1-Aug-01 20:08
protectorChristian Graus1-Aug-01 20:08 
AnswerRe: GDI+ from June SDK CD ??? Pin
Michael Dunn1-Aug-01 22:47
sitebuilderMichael Dunn1-Aug-01 22:47 
Questionget the MAC-adress from a host computer? Pin
Heidyon1-Aug-01 18:18
Heidyon1-Aug-01 18:18 
AnswerRe: get the MAC-adress from a host computer? Pin
Michael A. Barnhart2-Aug-01 0:43
Michael A. Barnhart2-Aug-01 0:43 
GeneralIt might be easier if somebody just shot me Pin
Michael Martin1-Aug-01 17:47
professionalMichael Martin1-Aug-01 17:47 
GeneralRe: It might be easier if somebody just shot me Pin
Shankar Chandra Bose1-Aug-01 18:01
Shankar Chandra Bose1-Aug-01 18:01 
GeneralRe: Font Changing Pin
Derek Lakin2-Aug-01 1:30
Derek Lakin2-Aug-01 1:30 
Generala simple question Pin
1-Aug-01 17:27
suss1-Aug-01 17:27 
GeneralRe: a simple question Pin
Matt.W.1-Aug-01 18:00
Matt.W.1-Aug-01 18:00 
GeneralXalan transform problem in VC Pin
Michael A. Barnhart1-Aug-01 17:09
Michael A. Barnhart1-Aug-01 17:09 
GeneralRe: Xalan transform problem in VC Pin
Michael A Barnhart2-Aug-01 7:51
Michael A Barnhart2-Aug-01 7:51 
GeneralSo, how good are you? ;) (C/C++) Pin
Shankar Chandra Bose1-Aug-01 16:02
Shankar Chandra Bose1-Aug-01 16:02 

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.