How to add the file associae icon to a menu 
Author Message
 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



Tue, 25 Nov 2003 19:57:19 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Icons on Menus and Extract Icons from Files?Message-ID: <3f

2. Adding Menu Item To FILE MANAGER Menu

3. How do I add a menu to the Add-Ins menu in Visual Basic 4.0

4. Can I add icon to menu.

5. Adding custom icons to menus from macro?

6. Adding Icons to the Main Menu...

7. Add Icon in menu

8. Adding Menu Icons

9. Add icon to menu

10. Add icon to menu

11. adding graphics/icon to menu

12. Adding menu icons

 

 
Powered by phpBB® Forum Software