esskar
esskar

Reputation: 10940

Display UAC shield icon on a ToolStripItem

is there a recommended way (like sending BCM_SETSHIELD to a button 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.

Upvotes: 2

Views: 850

Answers (1)

Anders
Anders

Reputation: 101666

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

Upvotes: 2

Related Questions