Commit 3ef61614d754f6db1ab32d9c458fabceca998a7e

Authored by Echo
1 parent 0890f6d9

去掉没用的button ICON

... ... @@ -65,7 +65,7 @@ END
65 65
66 66 // Icon with lowest ID value placed first to ensure application icon
67 67 // remains consistent on all systems.
68   -IDR_MAINFRAME ICON DISCARDABLE "res\\idr_main.ico"
  68 +//IDR_MAINFRAME ICON DISCARDABLE "res\\idr_main.ico"
69 69
70 70 /////////////////////////////////////////////////////////////////////////////
71 71 //
... ... @@ -385,7 +385,7 @@ BEGIN
385 385 LTEXT "SPMeta DLL 1345.01",IDC_SPMETADLL_VERSION,42,40,104,8
386 386 LTEXT "Copyright(C) 2004-2010 MediaTek Inc. All rights reserved.",
387 387 IDC_STATIC,42,58,170,8
388   - ICON IDR_MAINFRAME,IDC_STATIC,13,12,20,20
  388 + // ICON IDR_MAINFRAME,IDC_STATIC,13,12,20,20
389 389 END
390 390
391 391 IDD_IDENTIFY_VERIFY_DIALOG DIALOG DISCARDABLE 0, 0, 187, 61
... ...
... ... @@ -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)
... ... @@ -200,8 +200,8 @@ BOOL CSNWriterDlg::OnInitDialog()
200 200
201 201 // Set the icon for this dialog. The framework does this automatically
202 202 // when the application's main window is not a dialog
203   - SetIcon(m_hIcon, TRUE); // Set big icon
204   - SetIcon(m_hIcon, FALSE); // Set small icon
  203 + // SetIcon(m_hIcon, TRUE); // Set big icon
  204 + //SetIcon(m_hIcon, FALSE); // Set small icon
205 205
206 206 SetWindowText(g_strToolVersion);
207 207
... ... @@ -568,7 +568,7 @@ void CSNWriterDlg::OnPaint()
568 568 int y = (rect.Height() - cyIcon + 1) / 2;
569 569
570 570 // Draw the icon
571   - dc.DrawIcon(x, y, m_hIcon);
  571 + // dc.DrawIcon(x, y, m_hIcon);
572 572 }
573 573 else
574 574 {
... ... @@ -592,10 +592,13 @@ void CSNWriterDlg::ShowTemperatureOnUI()
592 592
593 593 // The system calls this to obtain the cursor to display while the user drags
594 594 // the minimized window.
  595 +
  596 +#if 0
595 597 HCURSOR CSNWriterDlg::OnQueryDragIcon()
596 598 {
597 599 return (HCURSOR) m_hIcon;
598 600 }
  601 +#endif
599 602
600 603 void CSNWriterDlg::OnBtnStart()
601 604 {
... ...
... ... @@ -56,12 +56,12 @@ public:
56 56
57 57 // Implementation
58 58 protected:
59   - HICON m_hIcon;
  59 + //HICON m_hIcon;
60 60 // Generated message map functions
61 61 //{{AFX_MSG(CSNWriterDlg)
62 62 virtual BOOL OnInitDialog();
63 63 afx_msg void OnPaint();
64   - afx_msg HCURSOR OnQueryDragIcon();
  64 + //afx_msg HCURSOR OnQueryDragIcon();
65 65 afx_msg void OnBtnStart();
66 66 afx_msg void OnBtnQuit();
67 67 afx_msg void OnBtnSysconfig();
... ...
... ... @@ -4,7 +4,7 @@
4 4 //
5 5 #define IDS_ABOUTBOX 101
6 6 #define IDD_SNWRITER_DIALOG 102
7   -#define IDR_MAINFRAME 128
  7 +//#define IDR_MAINFRAME 128
8 8 #define IDD_SCANDATA_DIALOG 129
9 9 #define IDD_SYSTEM_CONFIG_DIALOG 130
10 10 #define IDB_BITMAP_FAIL 131
... ...
Please register or login to post a comment