Discussions related to Visual Prolog
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

scrollWindow vertically

Unread post 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.
Post Reply