• R/O
  • SSH
  • HTTPS

wincs: Commit


Commit MetaInfo

Revisão14 (tree)
Hora2010-05-25 15:54:38
Autorsho1get

Mensagem de Log

(mensagem de log vazia)

Mudança Sumário

Diff

--- WinCS/EXEConfirmDlg.cpp (revision 13)
+++ WinCS/EXEConfirmDlg.cpp (revision 14)
@@ -10,6 +10,7 @@
1010 ON_BN_CLICKED(IDOK, &CEXEConfirmDlg::OnBnClickedOk)
1111 ON_WM_CTLCOLOR()
1212 ON_CBN_SELCHANGE(IDC_CMB_EXECONFIRM_MODE, &CEXEConfirmDlg::OnCbnSelchangeCmbExeconfirmMode)
13+ ON_BN_CLICKED(IDC_BTN_EXECONFIRM_SIZE, &CEXEConfirmDlg::OnBnClickedBtnExeconfirmSize)
1314 END_MESSAGE_MAP()
1415
1516 CEXEConfirmDlg::CEXEConfirmDlg(CWnd* pParent /*=NULL*/)
@@ -129,5 +130,10 @@
129130 m_xEditRange.EnableWindow(fSystem);
130131 }
131132
133+void CEXEConfirmDlg::OnBnClickedBtnExeconfirmSize()
134+{
135+ m_xEditWidth.SetWindowText(DwToString(GetSystemMetrics(SM_CXSCREEN)));
136+ m_xEditHeight.SetWindowText(DwToString(GetSystemMetrics(SM_CYSCREEN)));
137+}
138+
132139 //////////////////////////////////////////////////////////////////////////
133-
--- WinCS/EXEConfirmDlg.h (revision 13)
+++ WinCS/EXEConfirmDlg.h (revision 14)
@@ -28,6 +28,7 @@
2828
2929 afx_msg void OnBnClickedOk();
3030 afx_msg void OnCbnSelchangeCmbExeconfirmMode();
31+ afx_msg void OnBnClickedBtnExeconfirmSize();
3132 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
3233
3334 public:
--- WinCS/resource.h (revision 13)
+++ WinCS/resource.h (revision 14)
@@ -171,6 +171,8 @@
171171 #define IDC_CHECK_MASTER_SETTING_LOG_PLUGIN 1119
172172 #define IDC_EDIT1 1121
173173 #define IDC_EDIT_API_CONSOLE_TEXT 1121
174+#define IDC_BUTTON1 1122
175+#define IDC_BTN_EXECONFIRM_SIZE 1122
174176 #define IDT_TB_EXECUTE 1900
175177 #define IDT_TB_STOP 1901
176178 #define IDT_TB_RESTART 1902
@@ -228,7 +230,7 @@
228230 #ifndef APSTUDIO_READONLY_SYMBOLS
229231 #define _APS_NEXT_RESOURCE_VALUE 161
230232 #define _APS_NEXT_COMMAND_VALUE 32797
231-#define _APS_NEXT_CONTROL_VALUE 1122
233+#define _APS_NEXT_CONTROL_VALUE 1123
232234 #define _APS_NEXT_SYMED_VALUE 120
233235 #endif
234236 #endif
Show on old repository browser