Original Post
Hi there =) I''ve looked almost everywhere on the forums here and I didn''t quite find anything about actually coding a behavior for a scrollbar, so I''m just gonna take the newbie way out and ask the pros =P
I have a home-brewed child window that was granted the gift of scrollbars via CreateWindowEx() flags. Supposing that the window will have a bitmap way larger than the window''s bounds inside it, what exactly would I need to do to make the scrollbars scroll through the bitmap (in my case, I need to scroll by 16 pixels at a time)?
I have a handmade child window class that has its own event handler, so I will do whatever I need to in the WM_HSCROLL | WM_VSCROLL messages, and I *think* I need to just move the bitmap itself when the scrolling occurs. But like I said, I''m not sure (which is why I''m posting!)
Many thanks in advance,
~ MajorShredd ~
"Great nations built on the bones of the dead with mud and straw, blood and sweat, you know your worth when your enemies praise your architecture of aggression" - Megadeth
"Great nations built on the bones of the dead with mud and straw, blood and sweat, you know your worth when your enemies praise your architecture of aggression" - Megadeth