Hi to everyone i just have this one question, if this function
doesnt work, what would be the reason?Code:SendMessage(hwndP, WM_HSCROLL, SB_LINERIGHT, 0);
and is there an alternative way or other functions that do the same?
THANK U VERY MUCH!
Hi to everyone i just have this one question, if this function
doesnt work, what would be the reason?Code:SendMessage(hwndP, WM_HSCROLL, SB_LINERIGHT, 0);
and is there an alternative way or other functions that do the same?
THANK U VERY MUCH!
Code:// Double check hwndP, make sure the message is not sent by the scroll bar, or else add the handle of the scroll bar to the lparam. SendMessage(hwndP, WM_HSCROLL, LOWORD(SB_LINERIGHT), NULL);
i read and tried you code still the scrollbar and the page didnt move, the only difference is you used LOWORD it will just retrieves the low-order word and NULL or 0 is OK...
what do you mean ADD THE HANDLE OF THE SCROLLBAR TO THE LPARAM?
note: the hwndP is the handle itself to the scrollbar.
THANK U VERY MUCH!
Last edited by anne03; 08-23-2010 at 02:34 AM.