开发者

Display UAC shield icon on a ToolStripItem

开发者 https://www.devze.com 2022-12-28 07:04 出处:网络
is there a recommended way (like sending BCM_SETSHIELD to a button开发者_如何学C control) to display the UAC Shield icon on a ToolStripItem? ToolStripItem is not a control anyway, so i wonder what the

is there a recommended way (like sending BCM_SETSHIELD to a button开发者_如何学C control) to display the UAC Shield icon on a ToolStripItem? ToolStripItem is not a control anyway, so i wonder what the best-practise for that is.

Thanks.


Passing SIID_SHIELD to SHGetStockIconInfo is the documented (native) way to get the UAC shield icon (Vista+)

0

精彩评论

暂无评论...
验证码 换一张
取 消