cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
nishida_jp
Booster

C++\Archi27 API How To Loop Addoon Gloval Values In Menu when Menu Exist

visual studio c++2017
Archi27 API 
Programing

 

struct GlovalValues;

 

static GSErrCode MenuCommandHandler (const API_MenuParams *menuParams)
{
switch (menuParams->menuItemRef.menuResID) {
case ID_ADDON_MENU01:
   // addon programing By globalValues

  break;

return 0;
}

 

I select menu on ID_ADDON_MENU01.
after ID_ADDON_MENU01

but GlovalValues initialized on next select menu ;

 

how to continue data of GlovalValues on next menu pushed;

 

 

1 Solution

Accepted Solutions
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi,

I'd like suggest you to use ACAPI_SetPreferences() and ACAPI_GetPreferences() function to keep and restore your own data in your project file. Please check the details in API Doc.

HTH.

Go to post

1 Reply 1
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi,

I'd like suggest you to use ACAPI_SetPreferences() and ACAPI_GetPreferences() function to keep and restore your own data in your project file. Please check the details in API Doc.

HTH.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!