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)
| 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. |
| 178 | func (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. |
| 183 | func (a *Accessibility) accSetPropertyInt(hwnd win.HWND, idProp *win.MSAAPROPID, event uint32, value int32) error { |
no test coverage detected