I need to scroll vertically a window of an other application and with the following code, the result is not correct :
Code: Select all
Rect = gui_api::getClientRect(Hdl),
NullRct = uncheckedConvert(vpiDomains::rct, 0),
Vertival_Diff = 50,
R_scrollWindow = gui_native::scrollWindow(Hdl,0,Vertival_Diff,NullRct,Rect),% !!! I'm not sure here with NullRct and Rect ???

Using gui_native::setScrollPos, only the scrollbar is scrolled, not the window.