MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ActivateFrame

Method ActivateFrame

editor/MainFrm.cpp:1290–1307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1288// CMainFrame message handlers
1289
1290void CMainFrame::ActivateFrame(int nCmdShow) {
1291 // TODO: Add your specialized code here and/or call the base class
1292 nCmdShow = SW_MAXIMIZE; // Force initial maximization
1293
1294 RemoveSplashScreen(); // shown when CreateClient
1295
1296 DockKeypad(D3EditState.tile_views);
1297
1298 // display object modeless if need be.
1299 if (D3EditState.objmodeless_on && !m_ObjModeless) {
1300 m_ObjModeless = new CObjectListModeless(this);
1301 m_ObjModeless->Create();
1302 m_ObjModeless->SetWindowPos(this, D3EditState.objmodeless_x, D3EditState.objmodeless_y, -1, -1, SWP_NOSIZE);
1303 m_ObjModeless->ShowWindow(SW_SHOW);
1304 }
1305
1306 CFrameWnd::ActivateFrame(nCmdShow);
1307}
1308
1309BOOL CMainFrame::OnCommand(WPARAM wParam, LPARAM lParam) { return CFrameWnd::OnCommand(wParam, lParam); }
1310

Callers

nothing calls this directly

Calls 1

CreateMethod · 0.45

Tested by

no test coverage detected