c# - Scrollbar movement SetScrollPos and SendMessage -


I am trying to transfer scrollbars of a window programmatically. I am sending first:

  SetScrollPos (handle, 1, status, true);  

and after the following:

  send message (handle, 0x0115, prom, new interrupt (0));  

Replacement is correct when I inspect it through Spy ++, the only difference in sending a scroll with the above code and actually scrolling is that in the actual scroll Message nesting is level 1 but here it is zero. But apart from this, all other properties and same, WM_VCROR, handle, condition, business etc. But the programmatic scroll bar does not move. Any suggestions on what is doing wrong ???

PS: Try it to do this by applying # TON a ton!

EDIT: When I pass the SB_BOTTOM to wbaram, it takes me right in the end of the book.

It is better to use the function instead of sending messages manually


Comments