Answer the question
In order to leave comments, you need to log in
How to make the main menu item POPUP (WinAPI) active?
I am writing a C program using WinAPI to create an interface.
There is a resource file in which a not tricky menu is written
IDR_MENU1 MENU
BEGIN
POPUP "История"
BEGIN
MENUITEM "Открыть", IDM_OPEN
POPUP "Сохранить", GRAYED
BEGIN
MENUITEM "Список контактов", ID_40002, GRAYED
MENUITEM "Переписку как...", ID_40002, GRAYED
END
MENUITEM "Закрыть", IDM_CLOSE, GRAYED
MENUITEM SEPARATOR
MENUITEM "Выход", IDM_EXIT
END
END
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question