June 26, 2024, 12:26:07 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


ID position ?

Started by paja, June 02, 2009, 10:36:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paja

June 02, 2009, 10:36:45 PM Last Edit: June 03, 2009, 01:32:23 AM by paja
Hi,

How can i read the x,y position of any ID (Button) in window ?


SnarlingSheep

June 03, 2009, 03:27:34 AM #1 Last Edit: June 03, 2009, 03:29:10 AM by SnarlingSheep
Use GETSIZE:

GETSIZE <window handle>, L, T, W, H,<Button ID>

Example:

DEF L,T,W,H  as INT
GETSIZE myWin, L, T, W, H, 1

'L' and 'T' will hold the x,y position you are looking for.