MCPcopy
hub / github.com/lxn/walk / ColumnsOrderable

Method ColumnsOrderable

tableview.go:476–479  ·  view source on GitHub ↗

ColumnsOrderable returns if the user can reorder columns by dragging and dropping column headers.

()

Source from the content-addressed store, hash-verified

474// ColumnsOrderable returns if the user can reorder columns by dragging and
475// dropping column headers.
476func (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.

Callers 1

NewTableViewWithCfgFunction · 0.95

Calls 1

SendMessageMethod · 0.65

Tested by

no test coverage detected