Add shield icon to start/stop server button.
This commit is contained in:
parent
63b49ffd04
commit
aa2a9c2c43
|
@ -47,6 +47,9 @@ LRESULT CAdvancedPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*l
|
||||||
}
|
}
|
||||||
UpdateControls();
|
UpdateControls();
|
||||||
|
|
||||||
|
GetDlgItem(IDC_STARTSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||||
|
GetDlgItem(IDC_STOPSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||||
|
|
||||||
GetApplication()->ServiceStatusSubscribe(this);
|
GetApplication()->ServiceStatusSubscribe(this);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,7 @@ CMainDlg::CMainDlg(bool move_window)
|
||||||
this->AddPage(m_pageAbout);
|
this->AddPage(m_pageAbout);
|
||||||
|
|
||||||
ATLVERIFY(m_strTitle.LoadString(IDR_MAINFRAME));
|
ATLVERIFY(m_strTitle.LoadString(IDR_MAINFRAME));
|
||||||
|
|
||||||
this->SetTitle(m_strTitle);
|
this->SetTitle(m_strTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
// Change these values to use different versions
|
// Change these values to use different versions
|
||||||
#define WINVER 0x0400
|
#define WINVER 0x0400
|
||||||
#define _WIN32_WINNT 0x0501
|
#define _WIN32_WINNT 0x0600
|
||||||
#define _WIN32_IE 0x0500
|
#define _WIN32_IE 0x0500
|
||||||
#define _RICHEDIT_VER 0x0100
|
#define _RICHEDIT_VER 0x0100
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
|
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
|
||||||
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
|
#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
|
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
|
||||||
|
|
Loading…
Reference in New Issue