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

Method SetRange

progressbar.go:40–42  ·  view source on GitHub ↗
(min, max int)

Source from the content-addressed store, hash-verified

38}
39
40func (pb *ProgressBar) SetRange(min, max int) {
41 pb.SendMessage(win.PBM_SETRANGE32, uintptr(min), uintptr(max))
42}
43
44func (pb *ProgressBar) Value() int {
45 return int(pb.SendMessage(win.PBM_GETPOS, 0, 0))

Callers 1

CreateMethod · 0.95

Calls 1

SendMessageMethod · 0.65

Tested by

no test coverage detected