2

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.

apdevelop
  • 598
  • 6
  • 19
esskar
  • 10,638
  • 3
  • 36
  • 57

1 Answers1

2

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

Anders
  • 97,548
  • 12
  • 110
  • 164