add button to listcontrol
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
i want to use button instead of scrollbar
-
i want to use button instead of scrollbar
rajniyadav1a wrote:
i want to use button instead of scrollbar
OK, by this I assume you mean you want to use a button to scroll instead of using the scrollbar. This is fairly simple to do: create a button on the dialog, and in the button handler send
WM_VSCROLL
orWM_HSCROLL
message. See MSDN for what the message parameters should be. p.s. Please reply to this message, instead of creating a new message.Best wishes, Hans
-
i want to use button instead of scrollbar
If you're using MFC, you can use the
CListCtrl::Scroll
method to scroll the contents of the list control.«_Superman_» _I love work. It gives me something to do between weekends.