lxn / win

A Windows API wrapper package for the Go Programming Language
Other
1.19k stars 313 forks source link

add BCM_SETSHIELD #36

Closed tmm1 closed 6 years ago

tmm1 commented 6 years ago

Can be used as follows to show the UAC shield on buttons which require elevated privileges:

pushButton.SendMessage(win.BCM_SETSHIELD, 0, 1)