@Override 
	public boolean OnCreate() {
		trace("CMainWin::OnCreate");
		Graphics dc = getClientDC();
		if (!ViewImage.Create3(dc, CConfig.WindowWidth, CConfig.WindowHeight) || 
			!MixedImage.Create3(dc, CConfig.WindowWidth, CConfig.WindowHeight) || 
			!BackLayer.Create2(CConfig.WindowWidth, CConfig.WindowHeight) || 
			!OverlapLayer.Create2(CConfig.WindowWidth, CConfig.WindowHeight)) {
			MessageBox("内存无法配置。\n" +
				"请先关闭其他应用程序，在重新执行这个程序。");
			return false;
		}
		ViewImage.Clear();
		if ((hFont = new CFont()) == null) {
			MessageBox("找不到宋体。");
			return false;				
		}
		SetAction(ActionNop);
		OnFirstAction();
		return true;
	}