int ConSetMousePos(int X, int Y) { PTRLOC mp; if (!MousePresent) return -1; mp.col = (USHORT)X; mp.row = (USHORT)Y; MouSetPtrPos(&mp, MouseHandle); return 0; }
static void hb_gt_os2_mouse_SetPos( PHB_GT pGT, int row, int col ) { HB_SYMBOL_UNUSED( pGT ); if( s_uMouHandle ) { PTRLOC pos; pos.row = ( USHORT ) row; pos.col = ( USHORT ) col; MouSetPtrPos( &pos, s_uMouHandle ); } }