|
...
|
...
|
@@ -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
|
{
|
...
|
...
|
|