Page 1 of 1

scrollWindow vertically

Posted: 13 Nov 2014 16:37
by Tonton Luc
Hi,

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 ???
Any :idea:

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