standard scrollbar & scrollbar control
-
is there any way to determine a window has standard scrollbar or scrollbar control? in other word, how to scroll a window that does not belong to my app?
-
Try sending WM_HSCROLL and WM_VSCROLL Messages to that Window Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi
-
sure, you are right but i want to get some information about the scrollbar(range,pos etc.) Do you know how can i do it??? thanks
Why don't you use GetScrollRange with the HWND of scroll bar MSDN says If the specified window does not have standard scroll bars or is not a scroll bar control, the GetScrollRange function copies zero to the lpMinPos and lpMaxPos parameters. this might help :) Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi
-
Why don't you use GetScrollRange with the HWND of scroll bar MSDN says If the specified window does not have standard scroll bars or is not a scroll bar control, the GetScrollRange function copies zero to the lpMinPos and lpMaxPos parameters. this might help :) Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi