MCPcopy Index your code
hub / github.com/lxn/walk / CheckBoxes

Method CheckBoxes

tableview.go:947–956  ·  view source on GitHub ↗

CheckBoxes returns if the *TableView has check boxes.

()

Source from the content-addressed store, hash-verified

945
946// CheckBoxes returns if the *TableView has check boxes.
947func (tv *TableView) CheckBoxes() bool {
948 var hwnd win.HWND
949 if tv.hasFrozenColumn {
950 hwnd = tv.hwndFrozenLV
951 } else {
952 hwnd = tv.hwndNormalLV
953 }
954
955 return win.SendMessage(hwnd, win.LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0)&win.LVS_EX_CHECKBOXES > 0
956}
957
958// SetCheckBoxes sets if the *TableView has check boxes.
959func (tv *TableView) SetCheckBoxes(checkBoxes bool) {

Callers 3

lvWndProcMethod · 0.95
SetFrozenMethod · 0.80
sendMessageMethod · 0.80

Calls 1

SendMessageMethod · 0.65

Tested by

no test coverage detected