Commit 42bc63d395f9e99304e3da63d52fc656b285a508

Authored by xiemeng
1 parent a3493b85

增加图标

... ... @@ -503,6 +503,10 @@ SOURCE=.\res\FAIL.bmp
503 503 # End Source File
504 504 # Begin Source File
505 505
  506 +SOURCE=.\res\icon2.ico
  507 +# End Source File
  508 +# Begin Source File
  509 +
506 510 SOURCE=.\res\manifest.xml
507 511 # End Source File
508 512 # Begin Source File
... ...
... ... @@ -55,6 +55,15 @@ BEGIN
55 55 END
56 56 #endif // APSTUDIO_INVOKED
57 57
  58 +
  59 +/////////////////////////////////////////////////////////////////////////////
  60 +//
  61 +// Icon
  62 +//
  63 +
  64 +// Icon with lowest ID value placed first to ensure application icon
  65 +// remains consistent on all systems.
  66 +IDR_MAINFRAME ICON DISCARDABLE "res\\icon2.ico"
58 67 #endif // Chinese (P.R.C.) resources
59 68 /////////////////////////////////////////////////////////////////////////////
60 69
... ... @@ -202,7 +211,7 @@ STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
202 211 WS_SYSMENU
203 212 EXSTYLE WS_EX_APPWINDOW
204 213 CAPTION "c"
205   -FONT 9, "΢ÈíÑźÚ"
  214 +FONT 9, "΢ÈíÑźÚ", 0, 0, 0x1
206 215 BEGIN
207 216 EDITTEXT IDC_EDT_VERSION,56,0,160,13,ES_AUTOHSCROLL
208 217 PUSHBUTTON "Save",IDC_BT_SAVE_SWVER,223,0,44,15
... ...
... ... @@ -99,7 +99,7 @@ CSNWriterDlg::CSNWriterDlg(CWnd* pParent /*=NULL*/)
99 99 mytimecount = 0;
100 100 //}}AFX_DATA_INIT
101 101 // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
102   - // m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
  102 + m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
103 103 }
104 104
105 105 void CSNWriterDlg::DoDataExchange(CDataExchange* pDX)
... ...
... ... @@ -57,7 +57,7 @@ public:
57 57
58 58 // Implementation
59 59 protected:
60   - //HICON m_hIcon;
  60 + HICON m_hIcon;
61 61 // Generated message map functions
62 62 //{{AFX_MSG(CSNWriterDlg)
63 63 virtual BOOL OnInitDialog();
... ...
No preview for this file type
... ... @@ -19,6 +19,7 @@
19 19 #define IDI_ICON1 154
20 20 #define IDD_ENCRYPTION_DIALOG 155
21 21 #define IDD_DIALOG_TIPS 159
  22 +#define IDR_MAINFRAME 160
22 23 #define IDC_COUNT_TOTAL 1000
23 24 #define IDC_BTN_SYSCONFIG 1001
24 25 #define IDC_BTN_START 1002
... ... @@ -242,7 +243,7 @@
242 243 //
243 244 #ifdef APSTUDIO_INVOKED
244 245 #ifndef APSTUDIO_READONLY_SYMBOLS
245   -#define _APS_NEXT_RESOURCE_VALUE 160
  246 +#define _APS_NEXT_RESOURCE_VALUE 161
246 247 #define _APS_NEXT_COMMAND_VALUE 32798
247 248 #define _APS_NEXT_CONTROL_VALUE 1177
248 249 #define _APS_NEXT_SYMED_VALUE 101
... ...
Please register or login to post a comment