I would like to ask how I can create a scroll bar (slider) in WinApi32 C so I can
send serial port data depending on the position of the thumb in the scroll bar.
I would like to ask how I can create a scroll bar (slider) in
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can create a window with a scroll bar by adding the
WS_HSCROLLand/orWS_VSCROLLstyles to yourCreateWindow()call.You can then check the location by calling the
GetScrollPos()orGetScrollInfo()function.See MSDN documentation here for more info.