3 weeks ago
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;
Solved! Go to Solution.
2 weeks ago
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.
2 weeks ago
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.