http://www.vb-helper.com/HowTo/mnupics2.zip

	Purpose
Add pictures to a popup menu

	Method
Use the GetMenu, GetSubMenu, and SetMenuItemInfo API functions.

This program's SetMenuBitmap subroutine takes an array of numbers giving the
position of the menu item to assign the bitmap. For example, the values

	Array(0, 2, 1)

assigns a bitmap to menu 0, submenu 2, item 1.

Pictures added to a menu with Visible = False are lost. To make the pictures
appear, this program places its popup menu inside another top level menu.
When it needs to display the popup menu, it makes the menu visible and
assigns the pictures. When the menu closes, the program hides the popup menu
again.

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
