#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | DRAG_START 0 |
#define | DRAG_MOVE 1 |
#define | DRAG_END 2 |
#define | MAX_THREADS 12 |
Functions | |
void | GetMonitorMaxArea (PWND pwnd, PMONITOR pMonitor, LPRECT *pprc) |
BOOL | SizeRect (PMOVESIZEDATA pmsd, DWORD pt) |
BOOL | MoveRect (PMOVESIZEDATA pmsd, DWORD pt) |
VOID | xxxTM_MoveDragRect (PMOVESIZEDATA pmsd, LPARAM lParam) |
PCHECKPOINT | CkptRestore (PWND pwnd, LPCRECT lprcWindow) |
void | xxxMS_TrackMove (PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam, PMOVESIZEDATA pmsd) |
VOID | xxxMS_FlushWigglies (VOID) |
BOOL | xxxTrackInitSize (PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam, PMOVESIZEDATA pmsd) |
VOID | xxxMoveSize (PWND pwnd, UINT cmdMove, DWORD wptStart) |
VOID | xxxUpdateOtherThreadsWindows (PWND pwnd, HRGN hrgnFullDrag) |
VOID | xxxUpdateThreadsWindows (PTHREADINFO pti, PWND pwnd, HRGN hrgnFullDrag) |
VOID | xxxDrawDragRect (PMOVESIZEDATA pmsd, LPRECT lprc, UINT type) |
VOID | xxxCancelTrackingForThread (PTHREADINFO ptiCancel) |
VOID | xxxCancelTracking (VOID) |
Variables | |
const int | rgimpimpiw [] = {1, 3, 2, 6} |
const int | rgimpiwx [] = {0, 0, 2, -1, 0, 2, -1, 0, 2, 0} |
const int | rgimpiwy [] = {0, -1, -1, 1, 1, 1, 3, 3, 3, 1} |
const int | rgcmdmpix [] = {0, 1, 2, 0, 1, 2, 0, 1, 2, 1} |
const int | rgcmdmpiy [] = {0, 0, 0, 3, 3, 3, 6, 6, 6, 3} |
|
Definition at line 19 of file movesize.c. |
|
Definition at line 18 of file movesize.c. Referenced by xxxTM_MoveDragRect(). |
|
Definition at line 17 of file movesize.c. |
|
Definition at line 1889 of file movesize.c. Referenced by xxxCancelTracking(). |
|
Definition at line 335 of file movesize.c. References _GetProp(), _MonitorFromRect(), CopyRect, FALSE, tagCHECKPOINT::fMaxInitialized, tagCHECKPOINT::fMinInitialized, GetMonitorMaxArea(), HMIsMarkDestroy, InternalSetProp(), NULL, PROP_CHECKPOINT, PROPF_INTERNAL, tagCHECKPOINT::ptMax, tagCHECKPOINT::ptMin, PWNDDESKTOP, tagCHECKPOINT::rcNormal, tagWND::spwndParent, TestWF, TRUE, WFMAXIMIZED, WFMINIMIZED, and WFREALLYMAXIMIZABLE. Referenced by UpdateCheckpoint(), xxxMinMaximize(), and xxxMS_TrackMove().
|
|
Definition at line 62 of file movesize.c. References tagMONITOR::cFullScreen, tagMONITOR::rcMonitor, tagMONITOR::rcWork, TestWF, WFCPRESENT, and WFMAXBOX. Referenced by CkptRestore(), and xxxInitSendValidateMinMaxInfo().
|
|
Definition at line 242 of file movesize.c. References BOOL, _MOVESIZEDATA::fOffScreen, HISHORT, tagWND::hrgnClip, IntersectRect(), LOSHORT, OffsetRect(), _MOVESIZEDATA::rcDragCursor, _MOVESIZEDATA::rcParent, _MOVESIZEDATA::spwnd, tagWND::spwndParent, and TRUE. Referenced by xxxTM_MoveDragRect().
|
|
Definition at line 84 of file movesize.c. References abs, BOOL, _MOVESIZEDATA::cmd, HISHORT, LOSHORT, PINT, _MOVESIZEDATA::ptMaxTrack, _MOVESIZEDATA::ptMinTrack, _MOVESIZEDATA::rcDragCursor, _MOVESIZEDATA::rcParent, rgimpiwx, rgimpiwy, _MOVESIZEDATA::spwnd, TestWF, TRUE, and WFCHILD. Referenced by xxxTM_MoveDragRect().
|
|
Definition at line 1891 of file movesize.c. References grpdeskRitInput, INT, MAX_THREADS, NULL, tagTHREADINFO::pmsd, PtiCurrent, tagDESKTOP::PtiList, _MOVESIZEDATA::spwnd, ThreadLockAlwaysWithPti, ThreadLockPti, ThreadUnlock, ThreadUnlockPti, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, UINT, VOID(), and xxxCancelTrackingForThread(). Referenced by xxxProcessEventMessage(), and xxxSetForegroundWindow2().
|
|
Definition at line 1826 of file movesize.c. References _PostMessage(), DDR_ENDCANCEL, _MOVESIZEDATA::fDragFullWindows, _MOVESIZEDATA::fTrackCancelled, gpDispInfo, tagDISPLAYINFO::hDev, IsInsideMenuLoop(), NO_CAP_CLIENT, NULL, tagTHREADINFO::pmsd, tagTHREADINFO::pq, SetWakeBit(), _MOVESIZEDATA::spwnd, tagTHREADINFO::TIF_flags, TIF_TRACKRECTVISIBLE, TRUE, VOID(), xxxCapture(), and xxxDrawDragRect(). Referenced by xxxCancelTracking(), and xxxDestroyThreadInfo().
|
|
Definition at line 1562 of file movesize.c. References _GetDCEx(), _ReleaseDC(), _ScreenToClient(), CheckLock, CopyRect, DDR_START, EqualRect, _MOVESIZEDATA::fDragFullWindows, _MOVESIZEDATA::fForeground, FindSpb(), FreeSpb(), FTopLevel, GETPTI, gpDispInfo, gpsi, tagDISPLAYINFO::hDev, HRGN_FULL, tagWND::hrgnClip, IntersectRect(), IntersectRgn, NULL, tagTHREADINFO::pmsd, PtiCurrent, PWNDDESKTOP, _MOVESIZEDATA::rcDrag, _MOVESIZEDATA::rcParent, tagWND::rcWindow, _MOVESIZEDATA::spwnd, tagWND::spwndParent, SubtractRgn, TestWF, ThreadLock, ThreadUnlock, tagTHREADINFO::TIF_flags, TIF_MOVESIZETRACKING, type, VOID(), WFHASSPB, WFMINIMIZED, WFSIZEBOX, xxxSetWindowPos(), and xxxUpdateThreadsWindows(). Referenced by xxxCancelTrackingForThread(), xxxMoveSize(), xxxMS_TrackMove(), xxxReleaseCapture(), xxxTM_MoveDragRect(), and xxxTrackInitSize().
|
|
Definition at line 1053 of file movesize.c. References _CallMsgFilter(), BORDER_EXTRA, CheckLock, CLEAR_PUDF, CLIENT_CAPTURE_INTERNAL, _MOVESIZEDATA::cmd, tagDISPLAYINFO::cMonitors, CopyRect, DDR_START, DWORD, _MOVESIZEDATA::dxMouse, _MOVESIZEDATA::dyMouse, FALSE, _MOVESIZEDATA::fDragFullWindows, _MOVESIZEDATA::fForeground, _MOVESIZEDATA::fInitSize, _MOVESIZEDATA::fmsKbd, FNID_COMBOBOX, _MOVESIZEDATA::fOffScreen, _MOVESIZEDATA::fTrackCancelled, FWINABLE, GetCaptionHeight(), GETFNID, GetPrimaryMonitor(), GETPTI, ghrgnUpdateSave, gnUpdateSave, gpDispInfo, gpqForeground, gpsi, gptiForeground, tagDISPLAYINFO::hDev, HISHORT, tagWND::hrgnClip, _MOVESIZEDATA::impx, _MOVESIZEDATA::impy, IntersectRect(), IsWinEventNotifyDeferredOK, L, Lock, LOSHORT, MOVESIZEDATA, msg, NULL, tagTHREADINFO::pmsd, tagTHREADINFO::pq, PtiCurrent, _MOVESIZEDATA::ptMaxTrack, _MOVESIZEDATA::ptMinTrack, _MOVESIZEDATA::ptRestore, PUDF_DRAGFULLWINDOWS, PUDF_DRAGGINGFULLWINDOW, PWNDDESKTOP, tagWND::rcClient, _MOVESIZEDATA::rcDrag, _MOVESIZEDATA::rcDragCursor, _MOVESIZEDATA::rcParent, tagDISPLAYINFO::rcScreen, _MOVESIZEDATA::rcWindow, tagWND::rcWindow, tagMONITOR::rcWork, rgcmdmpix, rgcmdmpiy, rgimpiwx, rgimpiwy, SET_OR_CLEAR_PUDF, SetForegroundPriority(), _MOVESIZEDATA::spwnd, tagQ::spwndCapture, tagQ::spwndFocus, tagWND::spwndParent, SYSCUR, SYSMET, TEST_BOOL_PUDF, TestWF, ThreadLockAlwaysWithPti, ThreadUnlock, tagTHREADINFO::TIF_flags, TIF_MOVESIZETRACKING, TIF_TRACKRECTVISIBLE, TRUE, Unlock, VOID(), WEFTOOLWINDOW, WEFTOPMOST, WFMINIMIZED, WFSIZEBOX, xxxCallHook(), xxxCapture(), xxxDispatchMessage(), xxxDrawDragRect(), xxxInitSendValidateMinMaxInfo(), xxxMS_FlushWigglies(), xxxMS_TrackMove(), xxxPeekMessage, xxxSendMessage(), xxxTrackInitSize(), xxxTranslateMessage(), xxxWaitMessage(), xxxWindowEvent(), zzzClipCursor(), zzzInternalSetCursorPos(), zzzSetCursor(), zzzSetFMouseMoved(), and zzzShowCursor(). Referenced by xxxSysCommand().
|
|
Definition at line 844 of file movesize.c. References msg, NULL, VOID(), and xxxPeekMessage. Referenced by xxxMoveSize().
|
|
Definition at line 437 of file movesize.c. References _GetKeyState(), _GetMessagePos(), _MonitorFromRect(), BOOL, CheckLock, CkptRestore(), ClrWF, _MOVESIZEDATA::cmd, tagDISPLAYINFO::cMonitors, CopyOffsetRect(), CopyRect, DDR_ENDACCEPT, DDR_ENDCANCEL, tagMONITOR::dwMONFlags, DWORD, _MOVESIZEDATA::dxMouse, _MOVESIZEDATA::dyMouse, EqualRect, FALSE, tagCHECKPOINT::fDragged, _MOVESIZEDATA::fmsKbd, _MOVESIZEDATA::fTrackCancelled, FWINABLE, GetPrimaryMonitor(), gpDispInfo, tagDISPLAYINFO::hDev, HIBYTE, HISHORT, tagWND::hrgnClip, HW, HWq, _MOVESIZEDATA::impx, _MOVESIZEDATA::impy, IsWinEventNotifyDeferredOK, L, LockWindowUpdate2(), LOSHORT, max, MONF_VISIBLE, NULL, OffsetRect(), tagDISPLAYINFO::pMonitorFirst, tagMONITOR::pMonitorNext, tagTHREADINFO::pmsd, PtiCurrent, PtInRect(), _MOVESIZEDATA::ptRestore, PWNDDESKTOP, tagWND::rcClient, _MOVESIZEDATA::rcDrag, _MOVESIZEDATA::rcDragCursor, tagMONITOR::rcMonitor, _MOVESIZEDATA::rcParent, _MOVESIZEDATA::rcWindow, tagMONITOR::rcWork, rgimpimpiw, rgimpiwx, rgimpiwy, SetMinimize(), SHORT, SMIN_CLEAR, tagWND::spwndParent, SYSMET, TestWF, tagTHREADINFO::TIF_flags, TIF_TRACKRECTVISIBLE, TRUE, WEFTOOLWINDOW, WEFTOPMOST, WFMAXIMIZED, WFMINIMIZED, xxxCallHook(), xxxDrawDragRect(), xxxReleaseCapture(), xxxSendMessage(), xxxSetWindowPos(), xxxTM_MoveDragRect(), xxxWindowEvent(), zzzClipCursor(), and zzzInternalSetCursorPos(). Referenced by xxxMoveSize().
|
|
Definition at line 274 of file movesize.c. References CopyRect, DRAG_MOVE, DWORD, HISHORT, LOSHORT, MoveRect(), msg, PtiCurrent, SizeRect(), UINT, VOID(), xxxDrawDragRect(), and xxxSendMessage(). Referenced by xxxMS_TrackMove().
|
|
Definition at line 873 of file movesize.c. References _ClientToScreen(), BOOL, CheckLock, _MOVESIZEDATA::cmd, CopyRect, DDR_ENDCANCEL, _MOVESIZEDATA::dxMouse, _MOVESIZEDATA::dyMouse, FALSE, FAR, FindNCHit(), _MOVESIZEDATA::fInitSize, _MOVESIZEDATA::fTrackCancelled, gpDispInfo, tagDISPLAYINFO::hDev, HW, _MOVESIZEDATA::impx, _MOVESIZEDATA::impy, IsWinEventNotifyDeferredOK, NULL, tagTHREADINFO::pmsd, PtiCurrent, PtInRect(), _MOVESIZEDATA::rcDrag, tagWND::rcWindow, _MOVESIZEDATA::rcWindow, rgcmdmpix, rgcmdmpiy, rgimpiwx, rgimpiwy, SYSCUR, tagTHREADINFO::TIF_flags, TIF_TRACKRECTVISIBLE, TRUE, UINT, xxxDrawDragRect(), xxxReleaseCapture(), xxxSendMessage(), zzzClipCursor(), and zzzSetCursor(). Referenced by xxxMoveSize().
|
|
Definition at line 1485 of file movesize.c. References CheckLock, NULL, PtiCurrent, tagWND::spwndChild, tagWND::spwndNext, TestWF, ThreadLockExchangeAlways(), ThreadLockNever, ThreadUnlock, VOID(), WFCLIPCHILDREN, and xxxRedrawHungWindow(). Referenced by xxxUpdateThreadsWindows().
|
|
Definition at line 1523 of file movesize.c. References CheckLock, GETPTI, NULL, tagWND::spwndNext, ThreadLockExchangeAlways(), ThreadLockNever, ThreadUnlock, VOID(), xxxUpdateOtherThreadsWindows(), and xxxUpdateWindow(). Referenced by xxxDrawDragRect(), and xxxUpdateWindows().
|
|
Definition at line 48 of file movesize.c. Referenced by xxxMoveSize(), and xxxTrackInitSize(). |
|
Definition at line 49 of file movesize.c. Referenced by xxxMoveSize(), and xxxTrackInitSize(). |
|
Definition at line 45 of file movesize.c. Referenced by xxxMS_TrackMove(). |
|
Definition at line 46 of file movesize.c. Referenced by SizeRect(), xxxMoveSize(), xxxMS_TrackMove(), and xxxTrackInitSize(). |
|
Definition at line 47 of file movesize.c. Referenced by SizeRect(), xxxMoveSize(), xxxMS_TrackMove(), and xxxTrackInitSize(). |