
How to add the file associae icon to a menu
I need to put the file associate icon for a particular file in to a menu.
Ex. In Outlook when we click on attachment icon it displays all attachment file
names with the associate ICON in a menu.
I tried "SHGetFileInfoA" API to get the ICON and used "DrawIconEx" API to draw
the icon on a picture box.
I used "SetMenuItemBitmaps" to load the icons to the menu,
But it doesn't display the ICONs on the menus.
Please help me on this, if there is any other method to do this.
Thank You