Desenvolver e Download de Software Open Source

Browse Subversion Repository

Contents of /trunk/teraterm/teraterm/vtwin.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4647 - (show annotations) (download) (as text)
Tue Sep 20 10:26:18 2011 UTC (12 years, 7 months ago) by doda
File MIME type: text/x-chdr
File size: 6907 byte(s)
[Window] メニューに、[Minimize All], [Restore All] を追加した。

1 /* Tera Term
2 Copyright(C) 1994-1998 T. Teranishi
3 All rights reserved. */
4
5 /* TERATERM.EXE, VT window */
6
7 #ifdef __cplusplus
8
9 class CVTWindow : public CFrameWnd
10 {
11 private:
12 BOOL FirstPaint, Minimized;
13
14 /* mouse status */
15 BOOL LButton, MButton, RButton;
16 BOOL DblClk, AfterDblClk, TplClk;
17 int DblClkX, DblClkY;
18
19 // "Hold" key status
20 BOOL Hold;
21
22 // ScrollLock key
23 BOOL ScrollLock;
24
25 HMENU MainMenu, FileMenu, TransMenu, EditMenu,
26 SetupMenu, ControlMenu, WinMenu, HelpMenu;
27
28 protected:
29
30 public:
31 CVTWindow();
32 int Parse();
33 void ButtonUp(BOOL Paste);
34 void ButtonDown(POINT p, int LMR);
35 void InitMenu(HMENU *Menu);
36 void InitMenuPopup(HMENU SubMenu);
37 void InitPasteMenu(HMENU *Menu);
38 void ResetSetup();
39 void RestoreSetup();
40 void SetupTerm();
41 void Startup();
42 void OpenTEK();
43
44 //{{AFX_VIRTUAL(CVTWindow)
45 protected:
46 virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
47 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
48 //}}AFX_VIRTUAL
49
50 public:
51 #ifdef _DEBUG
52 virtual void AssertValid() const;
53 virtual void Dump(CDumpContext& dc) const;
54 #endif
55
56 protected:
57 //{{AFX_MSG(CVTWindow)
58 afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
59 afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
60 afx_msg void OnClose();
61 afx_msg void OnDestroy();
62 afx_msg void OnDropFiles(HDROP hDropInfo);
63 afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
64 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
65 afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
66 afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
67 afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
68 afx_msg void OnKillFocus(CWnd* pNewWnd);
69 afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
70 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
71 afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
72 afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
73 afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
74 afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
75 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
76 afx_msg void OnMove(int x, int y);
77 afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
78 afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
79 afx_msg void OnNcRButtonDown(UINT nHitTest, CPoint point);
80 afx_msg void OnPaint();
81 afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
82 afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
83 afx_msg void OnSetFocus(CWnd* pOldWnd);
84 afx_msg void OnSize(UINT nType, int cx, int cy);
85 afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
86 afx_msg void OnSysChar(UINT nChar, UINT nRepCnt, UINT nFlags);
87 afx_msg void OnSysColorChange();
88 afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
89 afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
90 afx_msg void OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
91 afx_msg void OnTimer(UINT nIDEvent);
92 afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
93 //<!--by AKASI
94 afx_msg LONG OnWindowPosChanging(UINT wParam, LONG lParam);
95 afx_msg LONG OnSettingChange(UINT wParam, LONG lParam);
96 afx_msg LONG OnEnterSizeMove(UINT wParam, LONG lParam);
97 afx_msg LONG OnExitSizeMove(UINT wParam, LONG lParam);
98 //-->
99 afx_msg LONG OnIMEComposition(UINT wParam, LONG lParam);
100 afx_msg LONG OnIMEInputChange(UINT wParam, LONG lParam);
101 afx_msg LONG OnIMENotify(UINT wParam, LONG lParam);
102 afx_msg LONG OnAccelCommand(UINT wParam, LONG lParam);
103 afx_msg LONG OnChangeMenu(UINT wParam, LONG lParam);
104 afx_msg LONG OnChangeTBar(UINT wParam, LONG lParam);
105 afx_msg LONG OnCommNotify(UINT wParam, LONG lParam);
106 afx_msg LONG OnCommOpen(UINT wParam, LONG lParam);
107 afx_msg LONG OnCommStart(UINT wParam, LONG lParam);
108 afx_msg LONG OnDdeEnd(UINT wParam, LONG lParam);
109 afx_msg LONG OnDlgHelp(UINT wParam, LONG lParam);
110 afx_msg LONG OnFileTransEnd(UINT wParam, LONG lParam);
111 afx_msg LONG OnGetSerialNo(UINT wParam, LONG lParam);
112 afx_msg LONG OnKeyCode(UINT wParam, LONG lParam);
113 afx_msg LONG OnProtoEnd(UINT wParam, LONG lParam);
114 afx_msg LONG OnChangeTitle(UINT wParam, LONG lParam);
115 afx_msg LONG OnReceiveIpcMessage(UINT wParam, LONG lParam);
116 afx_msg void OnFileNewConnection();
117 afx_msg void OnDuplicateSession();
118 afx_msg void OnCygwinConnection();
119 afx_msg void OnTTMenuLaunch();
120 afx_msg void OnLogMeInLaunch();
121 afx_msg void OnFileLog();
122 afx_msg void OnCommentToLog();
123 afx_msg void OnViewLog();
124 afx_msg void OnShowLogDialog();
125 afx_msg void OnReplayLog();
126 afx_msg void OnExternalSetup();
127 afx_msg void OnFileSend();
128 afx_msg void OnFileKermitRcv();
129 afx_msg void OnFileKermitGet();
130 afx_msg void OnFileKermitSend();
131 afx_msg void OnFileKermitFinish();
132 afx_msg void OnFileXRcv();
133 afx_msg void OnFileXSend();
134 afx_msg void OnFileYRcv();
135 afx_msg void OnFileYSend();
136 afx_msg void OnFileZRcv();
137 afx_msg void OnFileZSend();
138 afx_msg void OnFileBPRcv();
139 afx_msg void OnFileBPSend();
140 afx_msg void OnFileQVRcv();
141 afx_msg void OnFileQVSend();
142 afx_msg void OnFileChangeDir();
143 afx_msg void OnFilePrint();
144 afx_msg void OnFileDisconnect();
145 afx_msg void OnFileExit();
146 afx_msg void OnEditCopy();
147 afx_msg void OnEditCopyTable();
148 afx_msg void OnEditPaste();
149 afx_msg void OnEditPasteCR();
150 afx_msg void OnEditClearScreen();
151 afx_msg void OnEditClearBuffer();
152 afx_msg void OnEditCancelSelection();
153 afx_msg void OnEditSelectScreenBuffer();
154 afx_msg void OnEditSelectAllBuffer();
155 afx_msg void OnSetupTerminal();
156 afx_msg void OnSetupWindow();
157 afx_msg void OnSetupFont();
158 afx_msg void OnSetupKeyboard();
159 afx_msg void OnSetupSerialPort();
160 afx_msg void OnSetupTCPIP();
161 afx_msg void OnSetupGeneral();
162 afx_msg void OnSetupSave();
163 afx_msg void OnSetupRestore();
164 afx_msg void OnSetupLoadKeyMap();
165 afx_msg void OnControlResetTerminal();
166 afx_msg void OnControlResetRemoteTitle();
167 afx_msg void OnControlBroadcastCommand();
168 afx_msg void OnControlAreYouThere();
169 afx_msg void OnControlSendBreak();
170 afx_msg void OnControlResetPort();
171 afx_msg void OnControlOpenTEK();
172 afx_msg void OnControlCloseTEK();
173 afx_msg void OnControlMacro();
174 afx_msg void OnShowMacroWindow();
175 afx_msg void OnWindowWindow();
176 afx_msg void OnWindowMinimizeAll();
177 afx_msg void OnWindowRestoreAll();
178 afx_msg void OnHelpIndex();
179 afx_msg void OnHelpUsing();
180 afx_msg void OnHelpAbout();
181 //}}AFX_MSG
182 DECLARE_MESSAGE_MAP();
183 void Disconnect(BOOL confirm);
184 };
185 #endif
186
187 #ifdef __cplusplus
188 extern "C" {
189 #endif
190
191 void SendAllBroadcastMessage(HWND HVTWin, HWND hWnd, int parent_only, char *buf, int buflen);
192 void SendMulticastMessage(HWND HVTWin, HWND hWnd, char *name, char *buf, int buflen);
193 void SetMulticastName(char *name);
194
195 #ifdef __cplusplus
196 }
197 #endif

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