How to insert images in the dropdown toolbar button menu items in VB. 
Author Message
 How to insert images in the dropdown toolbar button menu items in VB.

I have a toolbar containing a drop down menu button. When this button is clicked the menu list appears. It is not possible to assign images to the drop down menu list as we can to a toolbar button.

Can anyone tell me how to go about it?

Thank you in advance.

Rupesh Kokal.



Tue, 23 Nov 2004 18:45:30 GMT  
 How to insert images in the dropdown toolbar button menu items in VB.

Quote:
>I have a toolbar containing a drop down menu button. When this button is
>clicked the menu list appears. It is not possible to assign images to the
drop
>down menu list as we can to a toolbar button.

Have a look at the SetMenuItemBitmaps() API call:
http://www.allapi.net/apilist/apifunction.php?apifunction=SetMenuItem...
Hope this helps,

    Mike

 -- EDais --

 - Microsoft Visual Basic MVP -
WWW: Http://EDais.earlsoft.co.uk/




Wed, 24 Nov 2004 00:42:13 GMT  
 How to insert images in the dropdown toolbar button menu items in VB.

Hi Mike,

This is for setting a menu bitmap for the menu items. But the problem is for setting a menu bitmap for a dropdown button menu item of a VB Toolbar dropdown button.

I appreciate your reply. If you can help me, let me know.

Thanks

Rupesh Kokal.


  >I have a toolbar containing a drop down menu button. When this button is
  >clicked the menu list appears. It is not possible to assign images to the
  drop
  >down menu list as we can to a toolbar button.

  Have a look at the SetMenuItemBitmaps() API call:
  http://www.allapi.net/apilist/apifunction.php?apifunction=SetMenuItem...
  Hope this helps,

      Mike

   -- EDais --

   - Microsoft Visual Basic MVP -
  WWW: Http://EDais.earlsoft.co.uk/




Wed, 24 Nov 2004 16:41:52 GMT  
 How to insert images in the dropdown toolbar button menu items in VB.
Quote:
> This is for setting a menu bitmap for the menu items. But the problem is
> for setting a menu bitmap for a dropdown button menu item of a VB
> Toolbar dropdown button.

 > I appreciate your reply. If you can help me, let me know.

You'll most likely need to draw it yourself, have a look over on
Http://www.vbaccelerator.com/ for the examples there
Hope this helps,

    Mike

 -- EDais --

 - Microsoft Visual Basic MVP -
WWW: Http://EDais.earlsoft.co.uk/




Wed, 24 Nov 2004 23:43:51 GMT  
 How to insert images in the dropdown toolbar button menu items in VB.
Thanks for your response. I will try showing my own defined menu.

Rupesh Kokal.



Quote:
> > This is for setting a menu bitmap for the menu items. But the problem is
> > for setting a menu bitmap for a dropdown button menu item of a VB
> > Toolbar dropdown button.

>  > I appreciate your reply. If you can help me, let me know.

> You'll most likely need to draw it yourself, have a look over on
> Http://www.vbaccelerator.com/ for the examples there
> Hope this helps,

>     Mike

>  -- EDais --

>  - Microsoft Visual Basic MVP -
> WWW: Http://EDais.earlsoft.co.uk/





Thu, 25 Nov 2004 12:53:40 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Click-Event for runtime-built Toolbar Button Dropdown Menu

2. Responding to Menu items and Toolbar buttons

3. Simulating toolbar button click through menu item?

4. Methods for linking menu items and toolbar buttons?

5. Transparent images in toolbar button/menu ?

6. Adding images to toolbar button menus?

7. Toolbar button images in VB

8. Toolbar button images in VB 4

9. toolbar, dropdown menu????

10. Toolbar DropDown Menus and Hotkeys

11. Handle of the toolbar dropdown menu

12. Coolbar / Toolbar dropdown menus

 

 
Powered by phpBB® Forum Software