Scroll Bars?
Hi,
I am stuck and can''t figure out how to create Scroll Bars in Win32 C/C++. Can''t find any tutorials either. People say that it was so easy that no one bothered to write one.
Please help me out. Just guide me...
Thanks,
I can survive anything ... even NUKES!!!
The Lion King
You didn''t say whether you''re doing this from code or a resource script, but I''m guessing you mean from code.
A scrollbar has its own HWND. They''re created with CreateWindow[Ex], specifying "SCROLLBAR" as the window class, and SBS_HORZ or SBS_VERT in the dwStyle parameter.
You can change the attributes of the scrollbar with SBM_xxx messages.
A scrollbar has its own HWND. They''re created with CreateWindow[Ex], specifying "SCROLLBAR" as the window class, and SBS_HORZ or SBS_VERT in the dwStyle parameter.
You can change the attributes of the scrollbar with SBM_xxx messages.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement