diff --git a/src/app/MainFrm.cpp b/src/app/MainFrm.cpp index b34bcd8..ab7da2a 100644 --- a/src/app/MainFrm.cpp +++ b/src/app/MainFrm.cpp @@ -146,7 +146,11 @@ bool CMainFrame::ParseCommandLine() for (auto i = 1; argv && i < argc; i++) { CString p(argv[i]); - if (_T("/t") == p && 0 == m_strSourceTitle.GetLength()) + if (_T("/h") == p) + { + SetWindowLongPtr(GWL_EXSTYLE, WS_EX_TOOLWINDOW); + } + else if (_T("/t") == p && 0 == m_strSourceTitle.GetLength()) { expectToken = 1; } diff --git a/src/app/MainFrm.h b/src/app/MainFrm.h index 8dc29e0..50f54cc 100644 --- a/src/app/MainFrm.h +++ b/src/app/MainFrm.h @@ -79,8 +79,6 @@ class CMainFrame : INT TriggerActionPopup(); POINT CalculatePopupPosision(); -public: - bool m_hasChildren{ false }; private: CMenuHandle m_mnuMain; CShellBrowseMenu m_shellMenu;