Pergunta

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.

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top