views:

136

answers:

1

Hi,

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.

+1  A: 

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

Anders
thanks for that. That solves it all.
esskar
@esskar you should mark it as the answer if it solved your problem
Anders