Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting the NotifyIcon to the same as the Application Icon

Status
Not open for further replies.

haroldjclements

Programmer
Jul 14, 2004
2
GB
Hello forum,

I am creating a system tray application. I have added all the components for doing this by hand (e.g. NOT dragging NotifyIcon / ContextMenu for the toolbar).

My problem is that I want to set the NotifyIcon to the same as the Application Icon (set in the properties of my solution). This icon will be imbedded in the final .exe, I need to know how to make a reference this imbedded item to set the NotifyIcon (m_NotifyIcon.Icon = ?????? )

Thank you in advance,
Harold Clements

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top