Find the screen coordinates

Find the screen coordinates

Postby Natter » Thu Sep 26, 2019 7:23 am

Hi, all !

How to find the screen coordinates of the selected element of the TTreeView object ?
Natter
 
Posts: 1224
Joined: Mon May 14, 2007 9:49 am

Re: Find the screen coordinates

Postby cnavarro » Thu Sep 26, 2019 6:12 pm

Natter wrote:Hi, all !

How to find the screen coordinates of the selected element of the TTreeView object ?


Let's see if this can help you

https://docs.microsoft.com/es-es/window ... etitemrect

From

https://docs.microsoft.com/es-es/window ... e-messages
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Find the screen coordinates

Postby Natter » Fri Sep 27, 2019 5:38 am

Cristobal, thank you for your advice.
Natter
 
Posts: 1224
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 84 guests