Hello All,
In my application I have a grid control with one column and multiple rows.
I am displaying a tooltip text when users move mouse over a cell. Now, the data for this tooltip is stored in a Map and the key of which corresponds to RowID.
Hence, MyMap[1] will retrieve value for cell 1 (row:1 col :0).
Now, the retrieval and tooltip display works fine when the number of rows are less enough such that users do not have to scroll down using vertical scroll bars. This is because I use the
event.GetPosition();
method to determine y co-ordinate.
However, when users scroll to some row, the y co-ordinate is calculated with respect to the new view and the currently visible row taken as reference zero (0).
Can anyone suggest if there is any other way to retrieve exact row number number ?
wxGrid Mouse Move and Position to Row ID retrieval Topic is solved
-
- Filthy Rich wx Solver
- Posts: 205
- Joined: Wed Jun 25, 2008 3:37 pm