Change name to SiaDrive
This commit is contained in:
@@ -141,7 +141,7 @@ inline static T& ReplaceStringInPlace(T& subject, typename T::value_type* search
|
|||||||
static BOOL RetryAction(std::function<BOOL()> func, std::uint16_t retryCount, const DWORD& retryDelay)
|
static BOOL RetryAction(std::function<BOOL()> func, std::uint16_t retryCount, const DWORD& retryDelay)
|
||||||
{
|
{
|
||||||
BOOL ret = FALSE;
|
BOOL ret = FALSE;
|
||||||
while (retryCount-- && !(ret = func()))
|
while (retryCount-- && !((ret = func())))
|
||||||
{
|
{
|
||||||
::Sleep(retryDelay);
|
::Sleep(retryDelay);
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Sia Drive</title>
|
<title>SiaDrive</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11" />
|
<meta http-equiv="X-UA-Compatible" content="IE=11" />
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
|
Binary file not shown.
@@ -44,6 +44,7 @@ CSiaDriveApp theApp;
|
|||||||
|
|
||||||
BOOL CSiaDriveApp::InitInstance()
|
BOOL CSiaDriveApp::InitInstance()
|
||||||
{
|
{
|
||||||
|
CEventSystem::EventSystem.Start();
|
||||||
|
|
||||||
// InitCommonControlsEx() is required on Windows XP if an application
|
// InitCommonControlsEx() is required on Windows XP if an application
|
||||||
// manifest specifies use of ComCtl32.dll version 6 or later to enable
|
// manifest specifies use of ComCtl32.dll version 6 or later to enable
|
||||||
@@ -102,6 +103,8 @@ BOOL CSiaDriveApp::InitInstance()
|
|||||||
ControlBarCleanUp();
|
ControlBarCleanUp();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
CEventSystem::EventSystem.Stop();
|
||||||
|
|
||||||
// Since the dialog has been closed, return FALSE so that we exit the
|
// Since the dialog has been closed, return FALSE so that we exit the
|
||||||
// application, rather than start the application's message pump.
|
// application, rather than start the application's message pump.
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@@ -231,7 +231,7 @@ BOOL CSiaDriveDlg::OnInitDialog()
|
|||||||
{
|
{
|
||||||
CDHtmlDialog::OnInitDialog();
|
CDHtmlDialog::OnInitDialog();
|
||||||
|
|
||||||
_tray.Create(this, IDR_TRAY_MENU, L"Sia Drive", m_hIcon, WM_TRAYNOTIFY);
|
_tray.Create(this, IDR_TRAY_MENU, L"SiaDrive", m_hIcon, WM_TRAYNOTIFY);
|
||||||
_tray.SetDefaultMenuItem(ID_MNU_ITEM_TOGGLE, FALSE);
|
_tray.SetDefaultMenuItem(ID_MNU_ITEM_TOGGLE, FALSE);
|
||||||
|
|
||||||
// Add "About..." menu item to system menu.
|
// Add "About..." menu item to system menu.
|
||||||
|
Reference in New Issue
Block a user