A basic idea would be to build your own helper function however there are many ways and things you need to do. Do you just want to set/resest 3 panels or 20?

Code:
A panel array 
PANEL* p_panels[20];

function set_panels(PANEL* p_pan[20], var p_flags) // I have no idea if flags can be stored in a var...
{
 var i=0;
for(i=0; i<20; i++)
{
 p_pan[i].flags |= p_flags;
}
}

exapm set_panels(p_panles, SHOW | TRANSLUCENT);

function reset_panels(PANEL* p_pan[20], var p_flags)
{
 var i=0;
for(i=0; i<20; i++)
{
 p_pan[i].flags &= p_flags;
}
}

exapm reset_panels(p_panles, ~SHOW | ~TRANSLUCENT);




This is a idea to work with not , tested and or working code.





Last edited by Malice; 11/07/15 22:25.