mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 12:24:48 +00:00
[EXPLORER] Remove trailing whitespace.
This commit is contained in:
parent
4453f72ef8
commit
6093abdebb
3 changed files with 15 additions and 15 deletions
|
@ -87,7 +87,7 @@ HideMinimizedWindows(IN BOOL bHide)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !WIN7_COMPAT_MODE
|
#if !WIN7_COMPAT_MODE
|
||||||
static INT
|
static INT
|
||||||
StartWithCommandLine(IN HINSTANCE hInstance)
|
StartWithCommandLine(IN HINSTANCE hInstance)
|
||||||
{
|
{
|
||||||
BOOL b = FALSE;
|
BOOL b = FALSE;
|
||||||
|
@ -109,7 +109,7 @@ StartWithCommandLine(IN HINSTANCE hInstance)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static INT
|
static INT
|
||||||
StartWithDesktop(IN HINSTANCE hInstance)
|
StartWithDesktop(IN HINSTANCE hInstance)
|
||||||
{
|
{
|
||||||
InitializeAtlModule(hInstance, TRUE);
|
InitializeAtlModule(hInstance, TRUE);
|
||||||
|
|
|
@ -125,7 +125,7 @@ public:
|
||||||
if (m_bThreadRunning)
|
if (m_bThreadRunning)
|
||||||
{
|
{
|
||||||
/* Try to unstuck Show */
|
/* Try to unstuck Show */
|
||||||
PostThreadMessage(m_ThreadId, WM_QUIT, 0, 0);
|
PostThreadMessage(m_ThreadId, WM_QUIT, 0, 0);
|
||||||
DWORD ret = WaitForSingleObject(m_hThread, 3*1000);
|
DWORD ret = WaitForSingleObject(m_hThread, 3*1000);
|
||||||
if (ret == WAIT_TIMEOUT)
|
if (ret == WAIT_TIMEOUT)
|
||||||
TerminateThread(m_hThread, 0);
|
TerminateThread(m_hThread, 0);
|
||||||
|
|
|
@ -544,7 +544,7 @@ public:
|
||||||
case IDHK_EXPLORE:
|
case IDHK_EXPLORE:
|
||||||
//FIXME: We don't support this yet:
|
//FIXME: We don't support this yet:
|
||||||
//ShellExecuteW(0, L"explore", NULL, NULL, NULL, 1);
|
//ShellExecuteW(0, L"explore", NULL, NULL, NULL, 1);
|
||||||
ShellExecuteW(0, NULL, L"explorer.exe", L"/e ,", NULL, 1);
|
ShellExecuteW(0, NULL, L"explorer.exe", L"/e ,", NULL, 1);
|
||||||
break;
|
break;
|
||||||
case IDHK_FIND:
|
case IDHK_FIND:
|
||||||
SHFindFiles(NULL, NULL);
|
SHFindFiles(NULL, NULL);
|
||||||
|
@ -1311,8 +1311,8 @@ ChangePos:
|
||||||
FitToRebar(&m_TrayRects[m_Position]);
|
FitToRebar(&m_TrayRects[m_Position]);
|
||||||
|
|
||||||
/* Move the tray window */
|
/* Move the tray window */
|
||||||
/* The handler of WM_WINDOWPOSCHANGING will override whatever size
|
/* The handler of WM_WINDOWPOSCHANGING will override whatever size
|
||||||
*and position we use here with m_TrayRects */
|
* and position we use here with m_TrayRects */
|
||||||
SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOACTIVATE);
|
SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOACTIVATE);
|
||||||
ResizeWorkArea();
|
ResizeWorkArea();
|
||||||
ApplyClipping(TRUE);
|
ApplyClipping(TRUE);
|
||||||
|
@ -2012,7 +2012,7 @@ ChangePos:
|
||||||
if (!m_ContextMenu)
|
if (!m_ContextMenu)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
return m_ContextMenu->GetCommandString(idCmd, uType, pwReserved, pszName, cchMax);
|
return m_ContextMenu->GetCommandString(idCmd, uType, pwReserved, pszName, cchMax);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2396,7 +2396,7 @@ ChangePos:
|
||||||
|
|
||||||
LRESULT OnNcLButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
LRESULT OnNcLButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||||
{
|
{
|
||||||
/* This handler implements the trick that makes the start button to
|
/* This handler implements the trick that makes the start button to
|
||||||
get pressed when the user clicked left or below the button */
|
get pressed when the user clicked left or below the button */
|
||||||
|
|
||||||
POINT pt = {GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)};
|
POINT pt = {GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)};
|
||||||
|
@ -2705,14 +2705,14 @@ HandleTrayContextMenu:
|
||||||
RECT rc;
|
RECT rc;
|
||||||
::GetWindowRect(m_hWnd, &rc);
|
::GetWindowRect(m_hWnd, &rc);
|
||||||
|
|
||||||
SIZE szWindow = {
|
SIZE szWindow = {
|
||||||
rc.right - rc.left,
|
rc.right - rc.left,
|
||||||
rc.bottom - rc.top };
|
rc.bottom - rc.top };
|
||||||
SIZE szTarget = {
|
SIZE szTarget = {
|
||||||
as->rcTarget.right - as->rcTarget.left,
|
as->rcTarget.right - as->rcTarget.left,
|
||||||
as->rcTarget.bottom - as->rcTarget.top };
|
as->rcTarget.bottom - as->rcTarget.top };
|
||||||
SIZE szActual = {
|
SIZE szActual = {
|
||||||
as->rcActual.right - as->rcActual.left,
|
as->rcActual.right - as->rcActual.left,
|
||||||
as->rcActual.bottom - as->rcActual.top };
|
as->rcActual.bottom - as->rcActual.top };
|
||||||
|
|
||||||
SIZE borders = {
|
SIZE borders = {
|
||||||
|
@ -2976,7 +2976,7 @@ public:
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual HRESULT STDMETHODCALLTYPE
|
virtual HRESULT STDMETHODCALLTYPE
|
||||||
QueryContextMenu(HMENU hPopup,
|
QueryContextMenu(HMENU hPopup,
|
||||||
UINT indexMenu,
|
UINT indexMenu,
|
||||||
UINT idCmdFirst,
|
UINT idCmdFirst,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue