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

Method SetValueMap

accessibility.go:178–180  ·  view source on GitHub ↗

SetValueMap sets window value map using Dynamic Annotation. The value map must be set when the window is created and is not to be modified later.

(valueMap string)

Source from the content-addressed store, hash-verified

176// SetValueMap sets window value map using Dynamic Annotation. The value map must be set when
177// the window is created and is not to be modified later.
178func (a *Accessibility) SetValueMap(valueMap string) error {
179 return a.accSetPropertyStr(a.wb.hWnd, &win.PROPID_ACC_VALUEMAP, 0, valueMap)
180}
181
182// accSetPropertyInt sets integer window property for Dynamic Annotation.
183func (a *Accessibility) accSetPropertyInt(hwnd win.HWND, idProp *win.MSAAPROPID, event uint32, value int32) error {

Callers 1

initAccessibilityMethod · 0.80

Calls 1

accSetPropertyStrMethod · 0.95

Tested by

no test coverage detected