GuiMenuSetIcon¶
Sets an icon for a specified menu.
void GuiMenuSetIcon(int hMenu, const ICONDATA* icon)
Return Value¶
This function does not return a value.
Example¶
ICONDATA rocket;
rocket.data = icon_rocket;
rocket.size = sizeof(icon_rocket);
hNewMenuEntry = GuiMenuAddEntry(hMenu, &szMenuEntryText);
GuiMenuSetIcon(hMenuDisasm,&rocket);
Related functions¶
Note: Plugin developers should make use of the plugin functions provided: