Skip to main content
GameDev.net gamedev.net
🔒 Locked

Windows scroll bars

Started by Craazer Sep 29, 2002 at 5:16 AM 1 replies 250+ views
Original Post
Craazer
Craazer
how do u use windows scroll bars, how to know their position and set their lenght?
siaspete
siaspete
Info about all aspects of the Windows API is in MSDN.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/scrollbars/scrollbarreference/scrollbarfunctions/getscrollinfo.asp


Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
Craazer
Craazer
quote:
Original post by siaspete
Info about all aspects of the Windows API is in MSDN.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/scrollbars/scrollbarreference/scrollbarfunctions/getscrollinfo.asp


Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions



Thank u wery much for that tip, got the scrolling work now.
Though wan theres is one thing what i didnt got work.. those arrows..

here how i can see if user drags the scroll button:

case WM_VSCROLL:
switch(LOWORD(wparam))
{
case SB_THUMBTRACK:

but how to know when arrows are pressed? sure i checked the MSDN but only i found was SB_SINGLE and SB_SINGLELINE (or shometing) but thoes doesnt work (or i dont know how to use them).
Any suggestions?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.