The c-stub for 'WinScroll' is broken. Since a fix would need to compile a new UI.GEO, here is a fix to be included
in the own sourcecode:
void far WinScroll(void);
void C_WinScroll
( WindowHandle win,
WWFixedAsDWord xMove,
WWFixedAsDWord yMove,
PointWWFixed * scrollAmt)
{
asm {
MOV DX, xMove.WWF_int
MOV CX, xMove.WWF_fract
MOV BX, yMove.WWF_int
MOV AX, yMove.WWF_fract
MOV DI, win
}
WinScroll();
asm {
mov scrollAmt.PF_x.WWF_int, DX
mov scrollAmt.PF_x.WWF_fract, CX
mov scrollAmt.PF_y.WWF_int, BX
mov scrollAmt.PF_y.WWF_fract, AX
}
};
It is also necessary to comment the following lines out in 'WIN.H':
extern void
_pascal WinScroll(WindowHandle win, WWFixedAsDWord xMove,
WWFixedAsDWord yMove, PointWWFixed *scrollAmt);
{Jens-Michael Gross}