Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Rotating a 2D line Pin
Andy Moore7-Mar-06 6:04
Andy Moore7-Mar-06 6:04 
AnswerRe: Rotating a 2D line Pin
El Corazon7-Mar-06 8:50
El Corazon7-Mar-06 8:50 
AnswerRe: Rotating a 2D line Pin
Steve Echols7-Mar-06 20:14
Steve Echols7-Mar-06 20:14 
QuestionMaximum size of scrollbars Pin
pgrohs7-Mar-06 3:52
pgrohs7-Mar-06 3:52 
AnswerRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 4:39
Gary R. Wheeler7-Mar-06 4:39 
GeneralRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 6:16
pgrohs7-Mar-06 6:16 
GeneralRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 6:39
Gary R. Wheeler7-Mar-06 6:39 
AnswerRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 7:10
pgrohs7-Mar-06 7:10 
Thank you for your help, but I think I have to describe the problem more detailed.

The scrollbar works fine when I move the scroll box with SB_PAGEDOWN or SB_LINEDOWN because in this case I do not need nPos. But when I react on SB_THUMBTRACK or SB_THUMBPOSITION I need nPos. So when I move the scroll box with the mouse to a position that is bigger than SRT_MAX nPos becomes zero and the scroll box jumps back to the top. Again: this is only the case if the scroll box is directly moved with the mouse. When I click on the scroll arrows everything works fine.

So what I need is a way to find out where the user has moved the scroll box when it is above SRT_MAX.

Thanks

GeneralRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 12:23
Gary R. Wheeler7-Mar-06 12:23 
GeneralRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 22:34
pgrohs7-Mar-06 22:34 
QuestionOk to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
dandy727-Mar-06 3:42
dandy727-Mar-06 3:42 
AnswerRe: Ok to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
Jack Puppy7-Mar-06 4:18
Jack Puppy7-Mar-06 4:18 
AnswerRe: Ok to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
Gary R. Wheeler7-Mar-06 4:42
Gary R. Wheeler7-Mar-06 4:42 
GeneralRe: Ok to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
dandy727-Mar-06 7:27
dandy727-Mar-06 7:27 
Questioncomparing two void* values Pin
Amr Shahin7-Mar-06 3:42
Amr Shahin7-Mar-06 3:42 
AnswerRe: comparing two void* values Pin
toxcct7-Mar-06 3:46
toxcct7-Mar-06 3:46 
AnswerRe: comparing two void* values Pin
James R. Twine7-Mar-06 4:12
James R. Twine7-Mar-06 4:12 
QuestionIE Active X Control Pin
folkenmax7-Mar-06 2:46
folkenmax7-Mar-06 2:46 
AnswerRe: IE Active X Control Pin
Stephen Hewitt7-Mar-06 3:17
Stephen Hewitt7-Mar-06 3:17 
GeneralRe: IE Active X Control Pin
folkenmax7-Mar-06 3:29
folkenmax7-Mar-06 3:29 
GeneralRe: IE Active X Control Pin
Stephen Hewitt7-Mar-06 12:04
Stephen Hewitt7-Mar-06 12:04 
AnswerRe: IE Active X Control Pin
folkenmax7-Mar-06 6:52
folkenmax7-Mar-06 6:52 
Questionmenu icons color change Pin
_tasleem7-Mar-06 2:38
_tasleem7-Mar-06 2:38 
AnswerRe: menu icons color change Pin
James R. Twine7-Mar-06 4:14
James R. Twine7-Mar-06 4:14 
GeneralRe: menu icons color change Pin
_tasleem7-Mar-06 17:24
_tasleem7-Mar-06 17:24 

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.