Here are the first lines of my app: NefbG2() { ver = " v2.1"; // snd Sleep time line 1895 // time_t tEnd = 1500e6; // 1 for ~11.6 days; time_t tEnd = 1480e6; // 1 for ~11.6 days; CtrlLayout(*this, "NefbG2 © " + ver); TopMost(true, true).MinimizeBox(); NoCenter(); // FrameLess(true); AddFrame(menu); // To make a menu bar you must add the frame before setting the callback menu.Set(THISBACK(MainMenu)); // Set the menu callback P1 <<= THISBACK(Point1Action); P2 <<= THISBACK(Point2Action); fnum = 1; IO = true; ioX = false; slocX = false; cfgfile = "nefbg2.cfg"; reset();
TopMost(true, true).MinimizeBox();
NefbG2() { ver = " v2.1"; // snd Sleep time line 1895 // time_t tEnd = 1500e6; // 1 for ~11.6 days; time_t tEnd = 1480e6; // 1 for ~11.6 days; CtrlLayout(*this, "NefbG2 © " + ver); NoCenter(); // FrameLess(true); AddFrame(menu); // To make a menu bar you must add the frame before setting the callback menu.Set(THISBACK(MainMenu)); // Set the menu callback P1 <<= THISBACK(Point1Action); P2 <<= THISBACK(Point2Action); fnum = 1; IO = true; ioX = false; slocX = false; cfgfile = "nefbg2.cfg"; reset(); Open(); //<-----Added TopMost(true, true).MinimizeBox(); //<---- Moved
Report message to a moderator