Home > Software engineering >  Windows API programming, a scroll bar no effect.
Windows API programming, a scroll bar no effect.

Time:10-29

Recent attempts to directly use Windows API programming to realize a checkboxlist function,
Registered a new window class subwindow, used for multiple containers of the checkbox, CreateWindow added WS_VSCROLL parameters, can see a scroll bar on the interface, when I create multiple checkbox, and beyond the subwindow area, a scroll bar will not scroll, point with the mouse or roll in key doesn't work, but add a WM_VSCROLL event handling branch, breakpoint can enter again, don't know where is the problem?
To add a handler in the WM_VSCROLL? Have a default processing function can be used?

CodePudding user response:

http://blog.csdn.net/visualeleven/article/details/6341240
A support class of the scrollbar
  • Related