I would like to get some improvements on the screenset layering system:
This is the interface I suggest
/* this function allows to create a layer attached to a parent layer, independant of any tab mechanism */
void Addlayer(int layerId, int parentLayerID)
/* This function enables a specific layer and displays its optional background and all children items (buttons, leds, fields,...). The layer is rendered on top of the parent layer */
void showLayer(int layerId);
/* this function disables a specific layer and hides its optional background and all its children items */
void hideLayer(int LayerID);
Second thing:
Adding a special layer (for example, the layer 0). This layer represents a layer on top of all others layers, providing a way to create popup boxes, dialog box, .... using the same kind of controls (field, buttons, leds, ....) (to preserve the same look of the screenset instead of a winform)