-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFontChildFrame.h
37 lines (26 loc) · 914 Bytes
/
FontChildFrame.h
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
#pragma once
#include "MdiTabChildWnd.h"
#include "RasterDialogBar.h"
// fwd decl
class CRasterView;
class CFontPreviewView;
// CEditFontChildFrame frame with splitter
class CEditFontChildFrame : public CMDITabChildWnd
{
DECLARE_DYNCREATE(CEditFontChildFrame)
protected:
CEditFontChildFrame(); // protected constructor used by dynamic creation
virtual ~CEditFontChildFrame();
virtual MDITabType GetTabType() { return TAB_FONT; }
public:
void HookUpNonViews(CDocument *pDoc);
BOOL OnCmdMsg(UINT nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
virtual int OnCreate(LPCREATESTRUCT lpCreateStruct);
DECLARE_MESSAGE_MAP()
CExtSplitterWnd m_wndSplitter;
CExtSplitterWnd m_wndSplitterTop;
CRasterView *_pViewMainView;
CFontPreviewView *_pFontPreviewView;
};