Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2020-08-03
11:13 AM
- last edited on
2021-09-15
09:55 AM
by
Noemi Balogh
2020-08-10 11:52 AM
API_MenuItemRef menuItemRef; GS::UniString menuItemStr = "New Text for Menu!!!"; BNZeroMemory (&menuItemRef, sizeof (API_MenuItemRef)); menuItemRef.menuResID = 32500; menuItemRef.itemIndex = 1; ACAPI_Interface (APIIo_SetMenuItemTextID, &menuItemRef, nullptr, menuItemStr);Note, you have to register your menu with ACAPI_Register_Menu in your RegisterInterface function and after that you can change the text of the menu anytime.