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 2609 - (show annotations) (download) (as text)
Mon Nov 3 17:36:43 2008 UTC (15 years, 6 months ago) by maya
Original Path: teraterm/trunk/teraterm/vtwin.h
File MIME type: text/x-chdr
File size: 6150 byte(s)
cv.TitleRemote が空のときはタイトルに反映しないようにした。
cv.TitleRemote をリセットするメニューを追加した。
[Ttssh2-devel 1218]

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

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