#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | CMS_ANIMATION 250 |
#define | DX_GAP (SYSMET(CXMINSPACING) - SYSMET(CXMINIMIZED)) |
#define | DY_GAP (SYSMET(CYMINSPACING) - SYSMET(CYMINIMIZED)) |
Functions | |
void | xxxInitSendValidateMinMaxInfo (PWND pwnd, LPMINMAXINFO lpmmi) |
VOID | ParkIcon (PWND pwnd, PCHECKPOINT pcp) |
ULONG_PTR | SaveScreen (PWND pwnd, ULONG iMode, ULONG_PTR iSave, int x, int y, int cx, int cy) |
VOID | xxxAnimateCaption (PWND pwnd, HDC hdc, LPRECT lprcStart, LPRECT lprcEnd) |
BOOL | xxxDrawAnimatedRects (PWND pwndClip, int idAnimation, LPRECT lprcStart, LPRECT lprcEnd) |
PWND | CalcMinZOrder (PWND pwndMinimize) |
BOOL | xxxActivateOnMinimize (PWND pwnd) |
PWND | xxxMinMaximize (PWND pwnd, UINT cmd, DWORD dwFlags) |
void | xxxMinimizeHungWindow (PWND pwnd) |
|
Definition at line 16 of file minmax.c. Referenced by xxxAnimateCaption(). |
|
|
|
|
|
Definition at line 1180 of file minmax.c. References BYTE, NULL, tagWND::spwndNext, tagWND::spwndOwner, TestWF, WEFTOPMOST, and WFBOTTOMMOST. Referenced by xxxMinMaximize().
|
|
Definition at line 324 of file minmax.c. References _GetProp(), BOOL, DX_GAP, DY_GAP, FALSE, tagCHECKPOINT::fDragged, tagCHECKPOINT::fMinInitialized, GetRealClientRect(), GetRect(), GRC_SCROLLS, GRECT_PARENTCOORDS, GRECT_WINDOW, IntersectRect(), IsTrayWindow(), max, NULL, PCHECKPOINT, PROP_CHECKPOINT, PROPF_INTERNAL, tagCHECKPOINT::ptMin, tagWND::spwndChild, tagWND::spwndNext, tagWND::spwndParent, SYSMET, TestWF, TRUE, UINT, VOID(), WFMINIMIZED, WFVISIBLE, and WHERE_NOONE_CAN_SEE_ME. Referenced by xxxMinMaximize().
|
|
Definition at line 538 of file minmax.c. References cy, gpDispInfo, tagDISPLAYINFO::hDev, IntersectRect(), tagDISPLAYINFO::rcScreen, and tagWND::rcWindow. Referenced by xxxAnimateCaption().
|
|
Definition at line 1218 of file minmax.c. References _GetDesktopWindow(), BOOL, FALSE, GetFullScreen, GetLastTopMostWindow(), HIBYTE, HMIsMarkDestroy, LOBYTE, NULL, tagTHREADINFO::pq, PtiCurrent, tagQ::spwndActivePrev, tagWND::spwndChild, tagWND::spwndNext, tagWND::spwndParent, TestWF, ThreadLockAlwaysWithPti, ThreadUnlock, TRUE, WEFNOACTIVATE, WEFTOOLWINDOW, WFDISABLED, WFMINIMIZED, WFVISIBLE, and xxxSetForegroundWindow(). Referenced by xxxMinimizeHungWindow(), and xxxMinMaximize().
|
|
Definition at line 558 of file minmax.c. References _WindowFromDC(), CheckLock, CMS_ANIMATION, CreateCaptionStrip(), cy, DWORD, FALSE, gbRemoteSession, GetWindowBorders(), ghbmCaption, ghdcMem, max, MultDiv, NtGetTickCount(), NULL, SaveScreen(), SYSMET, TestALPHA, TRUE, UserSleep(), VOID(), and xxxDrawCaptionTemp(). Referenced by xxxDrawAnimatedRects().
|
|
Definition at line 1042 of file minmax.c. References _GetDCEx(), _GetDesktopWindow(), _ReleaseDC(), BOOL, CheckLock, CopyRect, FALSE, HRGN_FULL, NULL, PWNDDESKTOP, TRUE, and xxxAnimateCaption(). Referenced by NtUserDrawAnimatedRects(), xxxMinimizeHungWindow(), and xxxMinMaximize().
|
|
Definition at line 32 of file minmax.c. References _GetClientRect(), _GetProp(), _HasCaptionIcon(), _MonitorFromWindow(), CheckLock, ClrWF, FALSE, tagCHECKPOINT::fMaxInitialized, gcxCaptionFontChar, GetMonitorMaxArea(), GetPrimaryMonitor(), GetWindowBorders(), InflateRect(), max, NULL, PROP_CHECKPOINT, PROPF_INTERNAL, PtiCurrent, tagCHECKPOINT::ptMax, PWNDDESKTOP, tagMONITOR::rcMonitor, SetWF, tagWND::spwndParent, SYSMET, TestWF, ThreadLockAlwaysWithPti, ThreadLockWithPti, ThreadUnlock, TRUE, WEFCONTEXTHELP, WEFTOOLWINDOW, WFCAPTION, WFCPRESENT, WFMAXBOX, WFMINBOX, WFREALLYMAXIMIZABLE, WFSIZEBOX, WFSYSMENU, and xxxSendMessage(). Referenced by xxxAdjustSize(), xxxMinMaximize(), and xxxMoveSize().
|
|
Definition at line 2005 of file minmax.c. References CheckLock, GETPTI, IDC_DEFAULT, IsRectEmpty(), NULL, PostEventMessage(), PUDF_ANIMATE, PWNDDESKTOP, QEVENT_HUNGTHREAD, tagWND::rcWindow, SetRectEmpty, SetVisible(), tagWND::spwndParent, SV_UNSET, TEST_PUDF, TestWF, WFMINIMIZED, WFVISIBLE, xxxActivateOnMinimize(), xxxDrawAnimatedRects(), xxxRedrawWindow(), xxxSendMinRectMessages(), xxxShowOwnedWindows(), and zzzInvalidateDCCache(). Referenced by xxxDesktopThread(), and xxxShowWindow().
|
|
Definition at line 1329 of file minmax.c. References _DeferWindowPos(), _PostMessage(), tagSMWP::acvr, AW_SKIP, BOOL, CalcMinZOrder(), CheckLock, CkptRestore(), ClrFTrueVis(), ClrWF, tagDISPLAYINFO::cMonitors, CopyRect, dwFlags, DWORD, FALSE, FCallHookTray, FDoTray, tagCHECKPOINT::fDragged, tagCHECKPOINT::fMinInitialized, FPostTray, tagCHECKPOINT::fWasMaximizedBeforeMinimized, tagCHECKPOINT::fWasMinimizedBeforeMaximized, FWINABLE, GETPTI, GetRect(), gpDispInfo, gpqForeground, gptiForeground, GRECT_PARENTCOORDS, GRECT_WINDOW, HIBYTE, HRGN_FULL, HRGN_MONITOR, tagCVR::hrgnClip, HWq, InternalBeginDeferWindowPos(), IsHooked, IsRectEmpty(), IsTrayWindow(), IsVisible(), KeAttachProcess(), KeDetachProcess(), L, MINMAX_ANIMATE, MINMAX_KEEPHIDDEN, MmAdjustWorkingSetSize(), NT_SUCCESS, NTSTATUS(), NULL, ParkIcon(), _EPROCESS::Pcb, PostShellHookMessages(), tagTHREADINFO::ppi, tagTHREADINFO::pq, PtiCurrent, tagCHECKPOINT::ptMin, PtoHq, PWNDDESKTOP, tagCHECKPOINT::rcNormal, tagWND::rcWindow, RestoreForegroundActivate(), RevalidateHwnd, SetMinimize(), SetRectEmpty, SetWF, SFW_STARTUP, SMIN_CLEAR, SMIN_SET, tagQ::spwndActive, tagWND::spwndChild, tagQ::spwndFocus, tagWND::spwndNext, tagWND::spwndParent, Status, SW_MDIRESTORE, SYSMET, TestWF, TestwndChild, THREAD_TO_PROCESS, ThreadLockAlwaysWithPti, ThreadLockWithPti, ThreadUnlock, tagTHREADINFO::TIF_flags, TIF_SYSTEMTHREAD, TRUE, UINT, WEF_USEPWNDTHREAD, WFCHILD, WFHASPALETTE, WFMAXFAKEREGIONAL, WFMAXIMIZED, WFMINIMIZED, WFNOANIMATE, WFTOPLEVEL, WFVISIBLE, WFWIN40COMPAT, WHF_CBT, xxxActivateOnMinimize(), xxxActivateWindow(), xxxCallHook(), xxxDrawAnimatedRects(), xxxEndDeferWindowPosEx(), xxxFlushPalette(), xxxInitSendValidateMinMaxInfo(), xxxSendMessage(), xxxSendMinRectMessages(), xxxSetFocus(), xxxSetForegroundWindow2(), xxxShowOwnedWindows(), and xxxWindowEvent(). Referenced by NtUserMinMaximize(), xxxCreateWindowEx(), xxxProcessHungThreadEvent(), and xxxShowWindow().
|