ColumnsOrderable returns if the user can reorder columns by dragging and dropping column headers.
()
| 474 | // ColumnsOrderable returns if the user can reorder columns by dragging and |
| 475 | // dropping column headers. |
| 476 | func (tv *TableView) ColumnsOrderable() bool { |
| 477 | exStyle := win.SendMessage(tv.hwndNormalLV, win.LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0) |
| 478 | return exStyle&win.LVS_EX_HEADERDRAGDROP > 0 |
| 479 | } |
| 480 | |
| 481 | // SetColumnsOrderable sets if the user can reorder columns by dragging and |
| 482 | // dropping column headers. |
no test coverage detected