How to add icons into Program tray menu list?

The topic also is a question.
I have no idea how to insert icons by Windows API functions...
Also I have an another question : How to (load) an icon from an executable file then draw it (Set window icon)?...
Is there any method which can get a pixel of the screen and store the color result into a DWORD value?
Last edited on
I don't know what a Program tray menu list is, but you can add icons to menu items in the basic menus that appear at the top of an application window. You have to create a MENUITEMINFO structure and use SetMenuItemInfo().
If you're talking about the System Tray, then this link might help?

Notifications and the Notification Area (Windows)

Topic archived. No new replies allowed.