Hi,
I am using wxListCtrl to display keyboard accelerator information. I use
SetColumnWidth(i, wxLIST_AUTOSIZE) to get proper width for the column,
I do not want the header to be dragged. How can I disable the dragging?
Thanks
Ming
Hi,
I am using wxListCtrl to display keyboard accelerator information. I use
SetColumnWidth(i, wxLIST_AUTOSIZE) to get proper width for the column,
I do not want the header to be dragged. How can I disable the dragging?
Thanks
Ming
Ming Lan wrote:
Hi,
I am using wxListCtrl to display keyboard accelerator information. I use
SetColumnWidth(i, wxLIST_AUTOSIZE) to get proper width for the column,
I do not want the header to be dragged. How can I disable the dragging?
Catch the EVT_LIST_COL_BEGIN_DRAG event and call event.Veto()
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!