Hello community,
I need to find the absolute position (x,y) of a control (eg: column )
I'm able to get the parent datawindow position by using:
Function boolean GetWindowRect( ulong hWnd, REF st_rectangle lpRect ) Library "user32.dll"
lb_rc = invo_super_external_functions.GetWindowRect( Handle(i_parentdw), lst_rectangle )
But I'll get the coordinates of the datawindow , I was not able to get the column itself ...
The goal is to use the result in a dropdown replacement window which needs to be properly placed in any case (eg: datawindow with groups and summary sections)
btw, a nice to have feature is the ability to recognize a multimonitor environment ...
Thanks in advance,
Nuno Madeira