Can I get where cursor placed in vscroll?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hello. Is it possible to know the place where cursor is placed in vscroll from WM_NCLBUTTONDOWN. Thanks. -Freehawk
2 solutions: 1. call GetCursorPos()in your WM_VSCROLL handler, you'll get the point in screen coordinate. 2. Inherit CScrollBar in MFC, handle messages involved some mouse actions within the new class. And then declare a control variable with type you just defined for your scroll.