Is it possibel to have 2 CPanelDialog on a chart? i mean i have a main CPanelDialog to have all the conditions of an EA, when i "check" the check box "view status", another CPanelDialog will appear with all status of the ea within it, the problem is when i "uncheck" the box function would be to remove the 2nd CPanelDialog in which it will not work not unless you close or unload both CPanelDialog.
I hope someone can help me with this one.
I haven't tried it, but it should be possible.
My thought is you would create both panels during OnInit() and simply hide the 2nd panel until you needed it.
Pseudo-code, not tested, not complete:
// panel 1
// panel 2
void OnDeinit(const int reason)
. . . then in your code for the checkbox . . .
if ( showing )