[v8i SS3 C++] Setting active color


I am trying to set active color to index 0.

I was using below line but it does not show active color on menu bar properly. Directly setting system variable may not be safe too.


tcb->symbology.color = AK_WALL_COLORID;

So I tried below code but it sets color to 48.


UInt32 color=(UInt32)AK_WALL_COLORID;

mdlParams_setActive ((void *)&color,ACTIVEPARAM_COLOR);
mdlParams_getActive ((void *)&color,ACTIVEPARAM_COLOR); //color returned is 2683184 // 2683184 mod 256 is 48

Any idea?