int Gettableselectionxy(t_table *pt,int column,POINT *coord);

Calculates screen coordinates of the top right corner of the first visible selected line in the specified column of the pure table window or custom table that supports WM_USER_SELXY. OllyDbg uses it to determine the best position for dialogs. This function is aware of multiple monitors.


(in) Pointer to the structure of type t_table, table that describes the window
(in) Zero-based index of the column in the table window
(out) Pointer to the structure of type POINT that receives the calculated coordinates in screen pixels

Return values:

Returns 0 on success and -1 if it can't compute coordinates

See also:
Tables, t_table, Maketableareavisible(), Movetableselection(), Removetableselection(), Settableselection()