Re: изменить текст пунктов меню
От: ekamaloff Великобритания  
Дата: 15.05.06 13:33
Оценка:
Здравствуйте, _hunter, Вы писали:

_>
_>    CMenu* menu = new CMenu();
    menu->>LoadMenu(IDR_TRAY_MENU);

_>    MENUITEMINFO iteminfo;
_>    iteminfo.cbSize = sizeof(MENUITEMINFO);
_>    iteminfo.fMask = MIIM_STRING | MIIM_TYPE;
_>    iteminfo.fType = MFT_STRING;

_>    iteminfo.dwTypeData = "11";
    menu->>SetMenuItemInfo(ID_TRAYMENU_OPTIONS, &iteminfo, FALSE);
_>


dwTypeData
Content of the menu item. The meaning of this member depends on the value of fType and is used only if the MIIM_TYPE flag is set in the fMask member.

... << RSDN@Home 1.1.4 stable SR1 rev. 568>>
It is always bad to give advices, but you will be never forgiven for a good one.
Oscar Wilde
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.