-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDBChildFrm.cpp
More file actions
45 lines (34 loc) · 888 Bytes
/
DBChildFrm.cpp
File metadata and controls
45 lines (34 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// DBChildFrm.cpp : implementation file
//
#include "stdafx.h"
#include "KRS.h"
#include "DBChildFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CDBChildFrm
IMPLEMENT_DYNCREATE(CDBChildFrm, CMDIChildWnd)
BEGIN_MESSAGE_MAP(CDBChildFrm, CMDIChildWnd)
END_MESSAGE_MAP()
CDBChildFrm::CDBChildFrm()
{
}
CDBChildFrm::~CDBChildFrm()
{
}
BOOL CDBChildFrm::PreCreateWindow(CREATESTRUCT& cs)
{
// cs.style = WS_CHILD | WS_VISIBLE | WS_OVERLAPPED | WS_CAPTION
// | FWS_ADDTOTITLE | WS_THICKFRAME;
// cs.style = WS_CHILD | WS_VISIBLE | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU
// | FWS_ADDTOTITLE | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX;
if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;
return TRUE;
}
// CDBChildFrm message handlers
void CDBChildFrm::ActivateFrame(int nCmdShow)
{
nCmdShow = SW_SHOWMAXIMIZED;
CMDIChildWnd::ActivateFrame(nCmdShow);
}