Code: Select all
aPoint = ClientToScreen( ::hWnd, aPoint )
if aPoint[ 1 ] > 32768
aPoint[ 1 ] -= 65535
endif
if aPoint[ 2 ] > 32768
aPoint[ 2 ] -= 65535
endif
Code: Select all
aPoint = ClientToScreen( ::hWnd, aPoint )
if aPoint[ 1 ] > 32768
aPoint[ 1 ] -= 65535
endif
if aPoint[ 2 ] > 32768
aPoint[ 2 ] -= 65535
endif
Code: Select all
hb_reta( 2 );
hb_stornl( pt.x, -1, 2 );
hb_stornl( pt.y, -1, 1 )
Code: Select all
hb_reta( 2 );
hb_storni( ( short int ) pt.x, -1, 2 );
hb_storni( ( short int ) pt.y, -1, 1 )