I want to add pictures to a menu (that is, create a menu with pictures in front of the menu items), but I don't know how to do...
Thank you!
Posted on 2003-01-08 21:25:42 by minglei_lee
You use the SetMenuItemBitmap function

BOOL SetMenuItemBitmaps( HMENU hMenu,
UINT uPosition,
UINT uFlags,
HBITMAP hBitmapUnchecked,
HBITMAP hBitmapChecked
);

Donkey
Posted on 2003-01-08 21:57:04 by donkey
If you add bitmaps with the API donkey mentioned the image will be inverted when it's selected. If you don't want this you probably need to create an owner-drawn menu. IIRC vom-bonjour had some example code for this.

Thomas
Posted on 2003-01-11 04:05:05 by Thomas