win32gui.SetMenuItemBitmaps

SetMenuItemBitmaps(hMenu, uPosition, uFlags, hBitmapUnchecked, hBitmapChecked)

Associates the specified bitmap with a menu item. Whether the menu item is selected or clear, the system displays the appropriate bitmap next to the menu item.

Parameters

hMenu : int

handle to menu

uPosition : int

menu item

uFlags : int

options

hBitmapUnchecked : PyGdiHANDLE

handle to unchecked bitmap, can be None

hBitmapChecked : PyGdiHANDLE

handle to checked bitmap, can be None