Re: Меню с рисунками
От: Odi$$ey Россия http://malgarr.blogspot.com/
Дата: 12.09.02 04:44
Оценка:
Здравствуйте Paata1, Вы писали:

P>Хочу создать popup меню с иконками вроде в Word. У каждого item есть свои icon.

P>Например
P>(icon1 — text1)
P>(icon2 — text2)

P>Как создать?



SetMenuItemBitmaps

The SetMenuItemBitmaps function 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. 

BOOL SetMenuItemBitmaps(
  HMENU hMenu,               // handle to menu
  UINT uPosition,            // menu item
  UINT uFlags,               // options
  HBITMAP hBitmapUnchecked,  // handle to unchecked bitmap
  HBITMAP hBitmapChecked     // handle to checked bitmap
);
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.