need help CAppDialog Always minimized when OPEN New comment Michael Macasil 2021.03.15 03:34 Guys, specially mt5 expert. i need your suggestion/help regarding ALWAYS MINIMIZED my panel3 during call(btnClickEvent). what i need to do? CAppDialog AppWinCTW; void panel3() { AppWinCTW.Create(0,"GOLD Trading Panel",0,0,0,237,330); AppWinCTW.Caption("GOLD Trading Panel"); int total=AppWinCTW.ControlsTotal(); CWndClient*myclient; for(int i=0; i<total; i++) { CWnd*obj=AppWinCTW.Control(i); string name=obj.Name(); if(StringFind(name,"Border")>0) { CPanel *panel=(CPanel*) obj; panel.ColorBorder(clrLime); ChartRedraw(); } if(StringFind(name,"Back")>0) { CPanel *panel=(CPanel*) obj; panel.ColorBackground(clrTeal); ChartRedraw(); } if(StringFind(name,"Client")>0) { CWndClient *client=(CWndClient*)obj; client.ColorBackground(clrBlack); client.ColorBorder(clrGold); myclient=client; ChartRedraw(); } } Sleep(500); myclient.Destroy(); //--- AppWinCTW.Run(); AppWinCTW.BringToTop(); } if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam=="btnName") { panel3(); } } o do.? New comment
o do.?