Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /branches/ttcomtester/teraterm/teraterm/tekwin.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7527 - (hide annotations) (download) (as text)
Thu Mar 28 16:38:41 2019 UTC (5 years ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/tekwin.h
File MIME type: text/x-chdr
File size: 4299 byte(s)
tekwinでMFCを使用しないようにした
1 doda 6806 /*
2     * Copyright (C) 1994-1998 T. Teranishi
3 zmatsuo 7527 * (C) 2006-2019 TeraTerm Project
4 doda 6806 * All rights reserved.
5     *
6 doda 6841 * Redistribution and use in source and binary forms, with or without
7     * modification, are permitted provided that the following conditions
8     * are met:
9 doda 6806 *
10 doda 6841 * 1. Redistributions of source code must retain the above copyright
11     * notice, this list of conditions and the following disclaimer.
12     * 2. Redistributions in binary form must reproduce the above copyright
13     * notice, this list of conditions and the following disclaimer in the
14     * documentation and/or other materials provided with the distribution.
15     * 3. The name of the author may not be used to endorse or promote products
16     * derived from this software without specific prior written permission.
17 doda 6806 *
18 doda 6841 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
19     * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21     * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23     * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25     * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27     * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 doda 6806 */
29 maya 3227
30     /* TERATERM.EXE, TEK window */
31    
32     /////////////////////////////////////////////////////////////////////////////
33     // CTEKWindow
34 zmatsuo 7527 #include "tmfc.h"
35     class CTEKWindow : public TTCFrameWnd
36 maya 3227 {
37     private:
38     TTEKVar tk;
39     HMENU MainMenu, EditMenu, WinMenu,
40     FileMenu, SetupMenu, HelpMenu;
41    
42     public:
43     CTEKWindow();
44     int Parse();
45     void RestoreSetup();
46     void InitMenu(HMENU *Menu);
47     void InitMenuPopup(HMENU SubMenu);
48    
49     protected:
50    
51     public:
52     //{{AFX_VIRTUAL(CTEKWindow)
53     protected:
54     virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
55     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
56     //}}AFX_VIRTUAL
57    
58     protected:
59     //{{AFX_MSG(CTEKWindow)
60 zmatsuo 7527 #define afx_msg
61     afx_msg void OnActivate(UINT nState, HWND pWndOther, BOOL bMinimized);
62 maya 3227 afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
63     afx_msg void OnDestroy();
64 doda 6801 afx_msg void OnGetMinMaxInfo(MINMAXINFO *lpMMI);
65 zmatsuo 7527 afx_msg void OnInitMenuPopup(HMENU hPopupMenu, UINT nIndex, BOOL bSysMenu);
66 maya 3227 afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
67     afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
68 zmatsuo 7527 afx_msg void OnKillFocus(HWND hNewWnd);
69     afx_msg void OnLButtonDown(UINT nFlags, POINTS point);
70     afx_msg void OnLButtonUp(UINT nFlags, POINTS point);
71     afx_msg void OnMButtonUp(UINT nFlags, POINTS point);
72     afx_msg int OnMouseActivate(HWND hDesktopWnd, UINT nHitTest, UINT message);
73     afx_msg void OnMouseMove(UINT nFlags, POINTS point);
74 maya 3227 afx_msg void OnMove(int x, int y);
75     afx_msg void OnPaint();
76 zmatsuo 7527 afx_msg void OnRButtonUp(UINT nFlags, POINTS point);
77     afx_msg void OnSetFocus(HWND hOldWnd);
78 maya 3227 afx_msg void OnSize(UINT nType, int cx, int cy);
79     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
80     afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
81     afx_msg void OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
82 zmatsuo 7527 afx_msg void OnTimer(UINT_PTR nIDEvent);
83     afx_msg LRESULT OnAccelCommand(WPARAM wParam, LPARAM lParam);
84     afx_msg LRESULT OnChangeMenu(WPARAM wParam, LPARAM lParam);
85     afx_msg LRESULT OnChangeTBar(WPARAM wParam, LPARAM lParam);
86     afx_msg LRESULT OnDlgHelp(WPARAM wParam, LPARAM lParam);
87     afx_msg LRESULT OnGetSerialNo(WPARAM wParam, LPARAM lParam);
88 maya 3227 afx_msg void OnFilePrint();
89     afx_msg void OnFileExit();
90     afx_msg void OnEditCopy();
91     afx_msg void OnEditCopyScreen();
92     afx_msg void OnEditPaste();
93     afx_msg void OnEditPasteCR();
94     afx_msg void OnEditClearScreen();
95     afx_msg void OnSetupWindow();
96     afx_msg void OnSetupFont();
97     afx_msg void OnVTWin();
98     afx_msg void OnWindowWindow();
99     afx_msg void OnHelpIndex();
100     afx_msg void OnHelpUsing();
101     afx_msg void OnHelpAbout();
102     //}}AFX_MSG
103 zmatsuo 7527 // DECLARE_MESSAGE_MAP()
104     #undef afx_msg
105     virtual LRESULT Proc(UINT msg, WPARAM wp, LPARAM lp);
106 maya 3227 };

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26