Hello,

Is there any way to identify which wxListCtrl column is clicked within an EVT_LIST_ITEM_SELECTED event? The GetColumn function pertains to only EVT_LIST_COL_** events, but I'm looking for something relating to the rows of data not the column headers.

As a workaround I tried GetItemRect($item) to get the X and Y coords and Width/Height in an attempt to calculate the column positions myself, but that seems to return X=0 and Y=21 Width=0 and Height=0 regardless of where in the control I click.

Does anyone have any ideas?

Many thanks,
Mike

Reply via email to