📄 viewwnd.h
字号:
// ViewWnd.h : header file
class CViewWnd : public CWnd
{
public:
CViewWnd();
public:
//{{AFX_VIRTUAL(CViewWnd)
protected:
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
//}}AFX_VIRTUAL
public:
void InvalidateContainers();
void OnPrepareDC(CDC *pDC);
void DrawRect(RECT re);
void CViewWnd::DrawBlackandWhiteLines(CClientDC* pDC,RECT SelectZoom,BOOL bWhite,BOOL bDash);
CPoint m_ptStart;
CFile PreviewBitmap;
bool m_bSelectZoom;
RECT m_SelectZoom;
RECT Rect;
BOOL H;
BOOL V;
BOOL L;
BOOL bTrack;
BOOL bTrackHand;
int s,t;
int zx,zy;
int m_iCursorType;
int nPos1,nPos2;
HCURSOR m_curZoomIn;
int shuzu3;
int shuzu5;
virtual ~CViewWnd();
protected:
//{{AFX_MSG(CViewWnd)
afx_msg void OnPaint();
afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnActivateApp(BOOL bActive, HTASK hTask);
afx_msg void OnAskCbFormatName(UINT nMaxCount, LPTSTR lpszString);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnCancelMode();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -