mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
Remove unneeded parentheses.
svn path=/trunk/; revision=63942
This commit is contained in:
parent
da06be6a77
commit
9cb415b091
3 changed files with 6 additions and 6 deletions
|
@ -184,21 +184,21 @@ ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
InvalidateRect(hApplicationPageListCtrl, NULL, TRUE);
|
InvalidateRect(hApplicationPageListCtrl, NULL, TRUE);
|
||||||
|
|
||||||
GetClientRect(hApplicationPageEndTaskButton, &rc);
|
GetClientRect(hApplicationPageEndTaskButton, &rc);
|
||||||
MapWindowPoints(hApplicationPageEndTaskButton, hDlg, (LPPOINT)(PRECT)(&rc), (sizeof(RECT)/sizeof(POINT)) );
|
MapWindowPoints(hApplicationPageEndTaskButton, hDlg, (LPPOINT)(PRECT)(&rc), sizeof(RECT)/sizeof(POINT));
|
||||||
cx = rc.left + nXDifference;
|
cx = rc.left + nXDifference;
|
||||||
cy = rc.top + nYDifference;
|
cy = rc.top + nYDifference;
|
||||||
SetWindowPos(hApplicationPageEndTaskButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
SetWindowPos(hApplicationPageEndTaskButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
||||||
InvalidateRect(hApplicationPageEndTaskButton, NULL, TRUE);
|
InvalidateRect(hApplicationPageEndTaskButton, NULL, TRUE);
|
||||||
|
|
||||||
GetClientRect(hApplicationPageSwitchToButton, &rc);
|
GetClientRect(hApplicationPageSwitchToButton, &rc);
|
||||||
MapWindowPoints(hApplicationPageSwitchToButton, hDlg, (LPPOINT)(PRECT)(&rc), (sizeof(RECT)/sizeof(POINT)) );
|
MapWindowPoints(hApplicationPageSwitchToButton, hDlg, (LPPOINT)(PRECT)(&rc), sizeof(RECT)/sizeof(POINT));
|
||||||
cx = rc.left + nXDifference;
|
cx = rc.left + nXDifference;
|
||||||
cy = rc.top + nYDifference;
|
cy = rc.top + nYDifference;
|
||||||
SetWindowPos(hApplicationPageSwitchToButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
SetWindowPos(hApplicationPageSwitchToButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
||||||
InvalidateRect(hApplicationPageSwitchToButton, NULL, TRUE);
|
InvalidateRect(hApplicationPageSwitchToButton, NULL, TRUE);
|
||||||
|
|
||||||
GetClientRect(hApplicationPageNewTaskButton, &rc);
|
GetClientRect(hApplicationPageNewTaskButton, &rc);
|
||||||
MapWindowPoints(hApplicationPageNewTaskButton, hDlg, (LPPOINT)(PRECT)(&rc), (sizeof(RECT)/sizeof(POINT)) );
|
MapWindowPoints(hApplicationPageNewTaskButton, hDlg, (LPPOINT)(PRECT)(&rc), sizeof(RECT)/sizeof(POINT));
|
||||||
cx = rc.left + nXDifference;
|
cx = rc.left + nXDifference;
|
||||||
cy = rc.top + nYDifference;
|
cy = rc.top + nYDifference;
|
||||||
SetWindowPos(hApplicationPageNewTaskButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
SetWindowPos(hApplicationPageNewTaskButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
||||||
|
|
|
@ -67,7 +67,7 @@ void AdjustFrameSize(HWND hCntrl, HWND hDlg, int nXDifference, int nYDifference,
|
||||||
int cx, cy, sx, sy;
|
int cx, cy, sx, sy;
|
||||||
|
|
||||||
GetClientRect(hCntrl, &rc);
|
GetClientRect(hCntrl, &rc);
|
||||||
MapWindowPoints(hCntrl, hDlg, (LPPOINT)(PRECT)(&rc), (sizeof(RECT)/sizeof(POINT)));
|
MapWindowPoints(hCntrl, hDlg, (LPPOINT)(PRECT)(&rc), sizeof(RECT)/sizeof(POINT));
|
||||||
if (pos) {
|
if (pos) {
|
||||||
cx = rc.left;
|
cx = rc.left;
|
||||||
cy = rc.top;
|
cy = rc.top;
|
||||||
|
|
|
@ -186,14 +186,14 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
InvalidateRect(hProcessPageListCtrl, NULL, TRUE);
|
InvalidateRect(hProcessPageListCtrl, NULL, TRUE);
|
||||||
|
|
||||||
GetClientRect(hProcessPageEndProcessButton, &rc);
|
GetClientRect(hProcessPageEndProcessButton, &rc);
|
||||||
MapWindowPoints(hProcessPageEndProcessButton, hDlg, (LPPOINT)(PRECT)(&rc), (sizeof(RECT)/sizeof(POINT)) );
|
MapWindowPoints(hProcessPageEndProcessButton, hDlg, (LPPOINT)(PRECT)(&rc), sizeof(RECT)/sizeof(POINT));
|
||||||
cx = rc.left + nXDifference;
|
cx = rc.left + nXDifference;
|
||||||
cy = rc.top + nYDifference;
|
cy = rc.top + nYDifference;
|
||||||
SetWindowPos(hProcessPageEndProcessButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
SetWindowPos(hProcessPageEndProcessButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
||||||
InvalidateRect(hProcessPageEndProcessButton, NULL, TRUE);
|
InvalidateRect(hProcessPageEndProcessButton, NULL, TRUE);
|
||||||
|
|
||||||
GetClientRect(hProcessPageShowAllProcessesButton, &rc);
|
GetClientRect(hProcessPageShowAllProcessesButton, &rc);
|
||||||
MapWindowPoints(hProcessPageShowAllProcessesButton, hDlg, (LPPOINT)(PRECT)(&rc), (sizeof(RECT)/sizeof(POINT)) );
|
MapWindowPoints(hProcessPageShowAllProcessesButton, hDlg, (LPPOINT)(PRECT)(&rc), sizeof(RECT)/sizeof(POINT));
|
||||||
cx = rc.left;
|
cx = rc.left;
|
||||||
cy = rc.top + nYDifference;
|
cy = rc.top + nYDifference;
|
||||||
SetWindowPos(hProcessPageShowAllProcessesButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
SetWindowPos(hProcessPageShowAllProcessesButton, NULL, cx, cy, 0, 0, SWP_NOACTIVATE|SWP_NOOWNERZORDER|SWP_NOSIZE|SWP_NOZORDER);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue