#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | pmenuNext (((PMENUWND)ppopupmenu->spwndNextPopup)->ppopupmenu->spmenu) |
Functions | |
void | xxxMNDismiss (PMENUSTATE pMenuState) |
BOOL | MNFadeSelection (PMENU pmenu, PITEM pitem) |
void | xxxMNDismissWithNotify (PMENUSTATE pMenuState, PMENU pmenu, PITEM pitem, UINT uPos, LPARAM lParam) |
PITEM | MNGetpItem (PPOPUPMENU ppopup, UINT uIndex) |
void | xxxMNSetCapture (PPOPUPMENU ppopup) |
void | xxxMNReleaseCapture (void) |
void | MNCheckButtonDownState (PMENUSTATE pMenuState) |
PWND | GetMenuStateWindow (PMENUSTATE pMenuState) |
void | UnlockPopupMenuWindow (PMENU pmenu, PWND pwnd) |
PVOID | LockPopupMenu (PPOPUPMENU ppopup, PMENU *pspmenu, PMENU pmenu) |
PVOID | UnlockPopupMenu (PPOPUPMENU ppopup, PMENU *pspmenu) |
PVOID | LockWndMenu (PWND pwnd, PMENU *pspmenu, PMENU pmenu) |
PVOID | UnlockWndMenu (PWND pwnd, PMENU *pspmenu) |
BOOL | xxxMNSetTop (PPOPUPMENU ppopup, int iNewTop) |
BOOL | xxxMNDoScroll (PPOPUPMENU ppopup, UINT uArrow, BOOL fSetTimer) |
int | MNCheckScroll (PMENU pMenu, PMONITOR pMonitor) |
BOOL | MNIsPopupItem (ITEM *lpItem) |
BOOL | xxxMNSwitchToAlternateMenu (PPOPUPMENU ppopupmenu) |
void | xxxMNDestroyHandler (PPOPUPMENU ppopupmenu) |
void | xxxMNChar (PPOPUPMENU ppopupmenu, PMENUSTATE pMenuState, UINT character) |
DWORD | GetMenuInheritedContextHelpId (PPOPUPMENU ppopup) |
void | xxxMNKeyDown (PPOPUPMENU ppopupmenu, PMENUSTATE pMenuState, UINT key) |
UINT | xxxMNPositionHierarchy (PPOPUPMENU ppopup, PITEM pitem, int cx, int cy, int *px, int *py, PMONITOR *ppMonitor) |
void | xxxCleanupDesktopMenu (PWND pwndDeskMenu, PDESKTOP pdesk) |
PWND | xxxMNOpenHierarchy (PPOPUPMENU ppopupmenu, PMENUSTATE pMenuState) |
BOOL | xxxMNHideNextHierarchy (PPOPUPMENU ppopup) |
void | xxxMNCloseHierarchy (PPOPUPMENU ppopupmenu, PMENUSTATE pMenuState) |
BOOL | xxxMNDoubleClick (PMENUSTATE pMenuState, PPOPUPMENU ppopup, int idxItem) |
PITEM | xxxMNSelectItem (PPOPUPMENU ppopupmenu, PMENUSTATE pMenuState, UINT itemPos) |
UINT | MNItemHitTest (PMENU pMenu, PWND pwnd, POINT pt) |
void | LockMFMWFPWindow (PULONG_PTR puHitArea, ULONG_PTR uNewHitArea) |
void | UnlockMFMWFPWindow (PULONG_PTR puHitArea) |
BOOL | IsMFMWFPWindow (ULONG_PTR uHitArea) |
LONG_PTR | xxxMNFindWindowFromPoint (PPOPUPMENU ppopupmenu, PUINT pIndex, POINTS screenPt) |
void | xxxMNCancel (PMENUSTATE pMenuState, UINT uMsg, UINT cmd, LPARAM lParam) |
void | xxxMNButtonDown (PPOPUPMENU ppopupmenu, PMENUSTATE pMenuState, UINT posItemHit, BOOL fClick) |
void | MNSetTimerToAutoDismiss (PMENUSTATE pMenuState, PWND pwnd) |
void | xxxMNMouseMove (PPOPUPMENU ppopup, PMENUSTATE pMenuState, POINTS ptScreen) |
void | xxxMNButtonUp (PPOPUPMENU ppopup, PMENUSTATE pMenuState, UINT posItemHit, LPARAM lParam) |
UINT | MNSetTimerToOpenHierarchy (PPOPUPMENU ppopup) |
UINT | MNSetTimerToCloseHierarchy (PPOPUPMENU ppopup) |
BOOL | xxxCallHandleMenuMessages (PMENUSTATE pMenuState, PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam) |
LRESULT | xxxMenuWindowProc (PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam) |
|
Referenced by xxxMenuWindowProc(). |
|
Definition at line 1196 of file ntuser/kernel/menu.c. References tagMENU::dwContextHelpId, DWORD, tagPOPUPMENU::fHasMenuBar, tagPOPUPMENU::fIsMenuBar, NULL, tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPrevPopup, and TRUE. Referenced by xxxMNKeyDown().
|
|
Definition at line 232 of file ntuser/kernel/menu.c. References tagPOPUPMENU::fIsTrackPopup, NULL, tagMENUSTATE::pGlobalPopupMenu, tagPOPUPMENU::spwndActivePopup, tagPOPUPMENU::spwndNextPopup, and tagPOPUPMENU::spwndPopupMenu. Referenced by NtUserEndMenu(), xxxHandleMenuMessages(), and xxxMNDragOver().
|
|
Definition at line 3145 of file ntuser/kernel/menu.c. References BOOL, FALSE, MFMWFP_ALTMENU, MFMWFP_NOITEM, MFMWFP_OFFMENU, and TRUE. Referenced by LockMFMWFPWindow(), UnlockMFMWFPWindow(), xxxHandleMenuMessages(), xxxMenuWindowProc(), xxxMNFindWindowFromPoint(), xxxMNSetGapState(), and xxxMNUpdateDraggingInfo().
|
|
Definition at line 3097 of file ntuser/kernel/menu.c. References IsMFMWFPWindow(), Lock, and UnlockMFMWFPWindow(). Referenced by xxxHandleMenuMessages(), and xxxMNUpdateDraggingInfo().
|
|
Definition at line 296 of file ntuser/kernel/menu.c. References tagWND::head, Lock, NULL, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagPOPUPMENU::spwndNotify, tagMENU::spwndNotify, UnlockPopupMenuWindow(), and Validateppopupmenu. Referenced by xxxMenuWindowProc(), xxxMNKeyDown(), xxxMNOpenHierarchy(), xxxMNStartMenu(), and xxxTrackPopupMenuEx().
|
|
Definition at line 422 of file ntuser/kernel/menu.c. References Lock, NULL, tagWND::spmenu, tagWND::spmenuSys, tagMENU::spwndNotify, and Unlock. Referenced by xxxCreateWindowEx(), xxxGetSystemMenu(), xxxSetDialogSystemMenu(), xxxSetMenu(), xxxSetSystemMenu(), and xxxSetWindowData().
|
|
Definition at line 206 of file ntuser/kernel/menu.c. References _GetKeyState(), FALSE, tagMENUSTATE::fButtonDown, tagMENUSTATE::fDragAndDrop, tagMENUSTATE::fDragging, tagMENUSTATE::fIgnoreButtonUp, tagMENUSTATE::fModelessMenu, tagMENUSTATE::uButtonDownHitArea, UnlockMFMWFPWindow(), and tagMENUSTATE::vkButtonDown. Referenced by xxxCallHandleMenuMessages(), and xxxMenuWindowProc().
|
|
Definition at line 627 of file ntuser/kernel/menu.c. References tagMENU::cItems, tagITEM::cxItem, tagMENU::cxMenu, tagITEM::cyItem, tagMENU::cyMax, tagMENU::cyMenu, tagMENU::dwArrowsOn, gcyMenuScrollArrow, tagMENU::iMaxTop, tagMENU::iTop, MSA_ATBOTTOM, MSA_ATTOP, MSA_OFF, MSA_ON, tagMONITOR::rcMonitor, tagMENU::rgItems, SYSMET, UINT, and tagITEM::yItem. Referenced by xxxMenuWindowProc().
|
|
Definition at line 47 of file ntuser/kernel/menu.c. References BOOL, CMS_SELECTIONFADE, CreateFade(), tagITEM::cxItem, tagITEM::cyItem, FALSE, gpDispInfo, tagDISPLAYINFO::hdcScreen, MNGetPopupFromMenu(), NULL, tagWND::rcClient, ShowFade(), tagPOPUPMENU::spwndPopupMenu, TestALPHA, TRUE, tagITEM::xItem, and tagITEM::yItem. Referenced by xxxMNDismissWithNotify().
|
|
Definition at line 136 of file ntuser/kernel/menu.c. References tagMENU::cItems, NULL, tagMENU::rgItems, and tagPOPUPMENU::spmenu. Referenced by xxxMenuWindowProc(), xxxMNSetGapState(), and xxxMNUpdateDraggingInfo().
|
|
Definition at line 727 of file ntuser/kernel/menu.c. References BOOL, ITEM, tagITEM::spSubMenu, and TestMFS. Referenced by xxxMNButtonDown().
|
|
Definition at line 2983 of file ntuser/kernel/menu.c. References tagMENU::cItems, tagQ::codeCapture, CopyInflateRect(), tagITEM::cxItem, tagITEM::cyItem, tagMENU::cyMenu, tagMENU::dwArrowsOn, tagMENU::iTop, MFISPOPUP, MFMWFP_DOWNARROW, MFMWFP_NOITEM, MFMWFP_UPARROW, MNGetToppItem(), MSA_OFF, NO_CAP_SYS, tagTHREADINFO::pq, PtiCurrent, PtInRect(), tagWND::rcClient, tagWND::rcWindow, tagMENU::rgItems, SCREEN_CAPTURE, SYSMET, TestMF, TestWF, and UINT. Referenced by FindNCHitEx(), xxxMenuItemFromPoint(), and xxxMNFindWindowFromPoint().
|
|
Definition at line 3600 of file ntuser/kernel/menu.c. References _SetTimer(), tagMENUSTATE::fAboutToAutoDismiss, tagMENUSTATE::fAutoDismiss, gdtMNDropDown, IDSYS_MNAUTODISMISS, NULL, and TRUE. Referenced by xxxMenuWindowProc(), and xxxMNMouseMove().
|
|
Definition at line 3917 of file ntuser/kernel/menu.c. References _SetTimer(), tagPOPUPMENU::fAboutToHide, tagPOPUPMENU::fHideTimer, tagPOPUPMENU::fHierarchyDropped, gdtMNDropDown, IDSYS_MNHIDE, NULL, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndPopupMenu, TRUE, and UINT. Referenced by xxxMNSelectItem().
|
|
Definition at line 3870 of file ntuser/kernel/menu.c. References _SetTimer(), tagMENU::cItems, tagPOPUPMENU::fHierarchyDropped, tagPOPUPMENU::fShowTimer, tagITEM::fState, gdtMNDropDown, IDSYS_MNSHOW, MFMWFP_NOITEM, NULL, tagPOPUPMENU::posDropped, tagPOPUPMENU::posSelectedItem, tagMENU::rgItems, tagPOPUPMENU::spmenu, tagITEM::spSubMenu, tagPOPUPMENU::spwndPopupMenu, TRUE, and UINT. Referenced by xxxMenuWindowProc().
|
|
Definition at line 3128 of file ntuser/kernel/menu.c. References IsMFMWFPWindow(), MFMWFP_OFFMENU, and Unlock. Referenced by LockMFMWFPWindow(), MNCheckButtonDownState(), xxxHandleMenuMessages(), xxxMNDragLeave(), and xxxMNEndMenuState().
|
|
Definition at line 367 of file ntuser/kernel/menu.c. References IsRootPopupMenu(), NULL, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagPOPUPMENU::spwndNotify, Unlock, and UnlockPopupMenuWindow(). Referenced by MNFreePopup(), and xxxMNKeyDown().
|
|
Definition at line 258 of file ntuser/kernel/menu.c. References NULL, tagWND::spmenu, tagWND::spmenuSys, tagMENU::spwndNotify, TestWF, Unlock, and WFDESTROYED. Referenced by LockPopupMenu(), and UnlockPopupMenu().
|
|
Definition at line 458 of file ntuser/kernel/menu.c. References NULL, tagWND::spmenu, tagWND::spmenuSys, and Unlock. Referenced by xxxFreeWindow(), xxxGetSystemMenu(), xxxSetWindowData(), and xxxSetWindowStyle().
|
|
Definition at line 3951 of file ntuser/kernel/menu.c. References BOOL, CheckLock, ExitMenuLoop(), FALSE, tagMENUSTATE::fButtonDown, tagMENUSTATE::fInCallHandleMenuMessages, tagMENUSTATE::fInDoDragDrop, tagMENUSTATE::fModelessMenu, tagMENUSTATE::fMouseOffMenu, GET_X_LPARAM, GET_Y_LPARAM, HW, MNCheckButtonDownState(), msg, NULL, tagMENUSTATE::pGlobalPopupMenu, tagWND::rcClient, TRUE, xxxEndMenuLoop(), xxxHandleMenuMessages(), and xxxMNEndMenuState(). Referenced by xxxMenuWindowProc(), xxxMNDragOver(), and xxxScanSysQueue().
|
|
Definition at line 1908 of file ntuser/kernel/menu.c. References _GetDesktopWindow, CheckLock, tagWND::head, tagDESKTOP::pDeskInfo, tagDESKTOPINFO::spwnd, tagDESKTOP::spwndMessage, tagWND::spwndOwner, tagWND::spwndParent, ThreadLockAlways, ThreadUnlock, Unlock, and xxxSetParent(). Referenced by xxxMNCloseHierarchy(), and xxxMNOpenHierarchy().
|
|
Definition at line 4022 of file ntuser/kernel/menu.c. References _GetDCEx(), _KillTimer(), _MonitorFromWindow(), _PostMessage(), _ReleaseDC(), _SetTimer(), ATW_SETFOCUS, AW_SKIP2, BOOL, CheckLock, tagMENU::cItems, ClearMF, CMS_MENUFADE, CreateFade(), tagMENUSTATE::cxAni, tagMENU::cxMenu, cy, tagMENUSTATE::cyAni, tagMENUSTATE::dwAniStartTime, tagMENU::dwArrowsOn, dwFlags, DWORD, tagMENUSTATE::fAboutToAutoDismiss, tagMENUSTATE::fActiveNoForeground, FADE_MENU, FADE_SHOW, FALSE, FBadWindow(), tagMENUSTATE::fButtonDown, tagMENUSTATE::fDragAndDrop, tagMENUSTATE::fDragging, tagMENUSTATE::fIgnoreButtonUp, tagMENUSTATE::fInCallHandleMenuMessages, tagPOPUPMENU::fInCancel, FindBestPos(), tagMENUSTATE::fInDoDragDrop, tagMENUSTATE::fModelessMenu, tagMENUSTATE::fMouseOffMenu, FNID_MENU, tagITEM::fState, tagPOPUPMENU::fToggle, tagPOPUPMENU::fTrackMouseEvent, gcyMenuScrollArrow, GET_X_LPARAM, GET_Y_LPARAM, GetAppCompatFlags2(), GETFNID, GetpMenuState(), GETPTI, gpqForeground, gpqForegroundPrev, tagMENU::hbrBack, tagMENUSTATE::hdcWndAni, tagWND::head, HRGN_FULL, HW, tagMENUSTATE::iAniDropDir, tagPOPUPMENU::iDropDir, IDSYS_MNANIMATE, IDSYS_MNAUTODISMISS, IDSYS_MNDOWN, IDSYS_MNHIDE, IDSYS_MNSHOW, IDSYS_MNUP, InflateRect(), Is500Compat, ISAMENU, IsMFMWFPWindow(), IsRecursedMenuState(), tagMENUSTATE::ixAni, tagMENUSTATE::iyAni, L, Lock, LockMenuState(), LockPopupMenu(), MFMWFP_MINVALID, MFMWFP_NOITEM, MFWINDOWDC, MNAllocPopup(), MNAnimate(), MNCheckButtonDownState(), MNCheckScroll(), MNCreateAnimationBitmap(), MNDrawFullNC(), MNEraseBackground(), MNFindNextValidItem(), MNGetpItem(), MNSetTimerToAutoDismiss(), MNSetTimerToOpenHierarchy(), MNSW_DRAWFRAME, MNSW_RETURNSIZE, MNXBORDER, MNYBORDER, MSA_OFF, NCA_ACTIVE, NCA_FORCEFRAMEOFF, NextTopWindow(), NtGetTickCount(), NULL, PAS_HORZ, PAS_OUT, PAS_VERT, tagMENUSTATE::pGlobalPopupMenu, PlayEventSound(), pmenuNext, tagMENUSTATE::pmnsPrev, tagPOPUPMENU::posDropped, tagPOPUPMENU::posSelectedItem, tagPOPUPMENU::ppopupmenuRoot, tagTHREADINFO::pq, PtiCurrent, PtInRect(), PtoH, PUINT, PWND_TOP, QF_CAPTURELOCKED, tagWND::rcClient, tagWND::rcWindow, RevalidateHwnd, SetMF, ShowFade(), tagPOPUPMENU::spmenu, tagITEM::spSubMenu, tagPOPUPMENU::spwndActivePopup, tagQ::spwndActivePrev, tagWND::spwndLastActive, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, StartFade(), SYSMET, TestALPHA, TestEffectUP, TestFadeFlags(), TestWF, ThreadLock, ThreadLockAlways, ThreadLockAlwaysWithPti, ThreadUnlock, TRUE, tagMENUSTATE::uButtonDownHitArea, tagMENUSTATE::uButtonDownIndex, UINT, USER_SOUND_MENUPOPUP, VALIDATECLASSANDSIZE, ValidateHmenu(), Validateppopupmenu, VER40, WFVISIBLE, xxxActivateThisWindow(), xxxActivateWindow(), xxxBeginPaint(), xxxCallHandleMenuMessages(), xxxClientRevokeDragDrop(), xxxDefWindowProc(), xxxDWP_DoNCActivate(), xxxEndMenuLoop(), xxxEndPaint(), xxxMenuDraw(), xxxMNButtonDown(), xxxMNButtonUp(), xxxMNCancel(), xxxMNChar(), xxxMNCloseHierarchy(), xxxMNCompute(), xxxMNDestroyHandler(), xxxMNDoScroll(), xxxMNDoubleClick(), xxxMNEndMenuState(), xxxMNFindWindowFromPoint(), xxxMNKeyDown(), xxxMNMouseMove(), xxxMNOpenHierarchy(), xxxMNPositionHierarchy(), xxxMNSelectItem(), xxxMNSetCapture(), xxxSendMessage(), xxxSetForegroundWindow(), xxxSetWindowPos(), xxxShowWindow(), xxxUnlockMenuState(), and xxxValidateRect(). Referenced by InitFunctionTables(), InitializeClientPfnArrays(), and LW_RegisterWindows().
|
|
Definition at line 3533 of file ntuser/kernel/menu.c. References BOOL, FALSE, tagMENUSTATE::fButtonDown, tagPOPUPMENU::fDropNextPopup, tagPOPUPMENU::fToggle, MNIsPopupItem(), tagPOPUPMENU::posSelectedItem, TRUE, xxxMNDoScroll(), xxxMNHideNextHierarchy(), xxxMNOpenHierarchy(), and xxxMNSelectItem(). Referenced by xxxHandleMenuMessages(), xxxMenuWindowProc(), and xxxMNMouseMove().
|
|
Definition at line 3772 of file ntuser/kernel/menu.c. References tagMENU::cItems, FALSE, tagMENUSTATE::fButtonAlwaysDown, tagMENUSTATE::fButtonDown, tagPOPUPMENU::fHierarchyDropped, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fShowTimer, tagITEM::fState, tagPOPUPMENU::fToggle, tagITEM::fType, MFMWFP_NOITEM, NULL, tagPOPUPMENU::posSelectedItem, tagMENU::rgItems, tagPOPUPMENU::spmenu, tagITEM::spSubMenu, xxxMNDismiss(), xxxMNDismissWithNotify(), and xxxMNOpenHierarchy(). Referenced by xxxHandleMenuMessages(), and xxxMenuWindowProc().
|
|
Definition at line 3395 of file ntuser/kernel/menu.c. References _PostMessage(), BOOL, tagMENUSTATE::cmdLast, FALSE, tagMENUSTATE::fButtonDown, tagPOPUPMENU::fDestroyed, tagPOPUPMENU::fInCancel, tagMENUSTATE::fInsideMenuLoop, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fIsSysMenu, tagPOPUPMENU::fIsTrackPopup, tagMENUSTATE::fMenuStarted, tagPOPUPMENU::fNoNotify, tagPOPUPMENU::fSynchronous, FWINABLE, tagWND::head, MFMWFP_NOITEM, NULL, tagMENUSTATE::pGlobalPopupMenu, PlayEventSound(), PtiCurrent, tagMENUSTATE::ptiMenuStateOwner, SMS_NOMENU, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, TestWF, ThreadLock, ThreadUnlock, TRUE, USER_SOUND_MENUCOMMAND, Validateppopupmenu, WFWIN31COMPAT, xxxDestroyWindow(), xxxMNCloseHierarchy(), xxxMNReleaseCapture(), xxxMNSelectItem(), xxxSendMenuSelect(), xxxSendMessage(), and xxxWindowEvent(). Referenced by xxxMenuWindowProc(), xxxMNDismiss(), and xxxMNDismissWithNotify().
|
|
Definition at line 1011 of file ntuser/kernel/menu.c. References BOOL, tagMENU::cItems, FALSE, tagPOPUPMENU::fDestroyed, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fIsSysMenu, tagITEM::fState, INT, MFMWFP_NOITEM, NULL, tagPOPUPMENU::posSelectedItem, PtoH, tagMENU::rgItems, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagPOPUPMENU::spwndNotify, ThreadLock, ThreadUnlock, TRUE, UINT, Validateppopupmenu, xxxMessageBeep(), xxxMNDismiss(), xxxMNFindChar(), xxxMNKeyDown(), xxxMNSelectItem(), xxxMNSwitchToAlternateMenu(), and xxxSendMessage(). Referenced by xxxHandleMenuMessages(), xxxMenuWindowProc(), and xxxMNKeyFilter().
|
|
Definition at line 2517 of file ntuser/kernel/menu.c. References _KillTimer(), DF_MENUINUSE, tagDESKTOP::dwDTFlags, FALSE, tagPOPUPMENU::fDesktopMenu, tagMENUSTATE::fDragAndDrop, tagPOPUPMENU::fHideTimer, tagPOPUPMENU::fHierarchyDropped, tagMENUSTATE::fInsideMenuLoop, tagPOPUPMENU::fIsMenuBar, tagMENUSTATE::fModelessMenu, FWINABLE, tagWND::head, HW, IDSYS_MNHIDE, L, Lock, MFMWFP_NOITEM, MNAnimate(), NT_SUCCESS, NULL, tagTHREADINFO::pMenuState, tagPOPUPMENU::posSelectedItem, tagPOPUPMENU::ppopupmenuRoot, PtiCurrent, PUDF_ANIMATE, tagTHREADINFO::rpdesk, SetVisible(), tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndActivePopup, tagDESKTOP::spwndMenu, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, SV_UNSET, TEST_PUDF, TestWF, ThreadLockAlways, ThreadUnlock, TRUE, Unlock, Validateppopupmenu, WFVISIBLE, xxxActivateThisWindow(), xxxCleanupDesktopMenu(), xxxClientRevokeDragDrop(), xxxDestroyWindow(), xxxMNDestroyHandler(), xxxSendMenuSelect(), xxxSendMessage(), xxxShowWindow(), and xxxWindowEvent(). Referenced by xxxDestroyThreadInfo(), xxxEndMenu(), xxxMenuWindowProc(), xxxMNCancel(), xxxMNKeyDown(), xxxMNKeyFilter(), xxxMNOpenHierarchy(), and xxxMNSelectItem().
|
|
Definition at line 880 of file ntuser/kernel/menu.c. References _KillTimer(), BOOL, tagMENU::cItems, FALSE, tagPOPUPMENU::fDelayedFree, tagPOPUPMENU::fDesktopMenu, tagPOPUPMENU::fDestroyed, tagPOPUPMENU::fFlushDelayedFree, tagPOPUPMENU::fHideTimer, tagPOPUPMENU::fIsSysMenu, tagPOPUPMENU::fSendUninit, tagPOPUPMENU::fShowTimer, tagITEM::fState, IDSYS_MNHIDE, IDSYS_MNSHOW, IsRootPopupMenu(), MNFreePopup(), MNIsItemSelected(), NULL, tagPOPUPMENU::posSelectedItem, tagPOPUPMENU::ppmDelayedFree, tagPOPUPMENU::ppopupmenuRoot, PtoH, tagMENU::rgItems, tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, ThreadLockAlways, ThreadUnlock, TRUE, Validateppopupmenu, and xxxSendMessage(). Referenced by xxxMenuWindowProc(), xxxMNCloseHierarchy(), and xxxMNOpenHierarchy().
|
|
Definition at line 36 of file ntuser/kernel/menu.c. References xxxMNCancel(). Referenced by xxxEndMenu(), xxxEndMenuLoop(), xxxHandleMenuMessages(), xxxMNButtonUp(), xxxMNChar(), xxxMNKeyDown(), and xxxMNKeyFilter().
|
|
Definition at line 98 of file ntuser/kernel/menu.c. References tagPOPUPMENU::fIsSysMenu, tagMENUSTATE::fNotifyByPos, MNFadeSelection(), tagMENUSTATE::pGlobalPopupMenu, PtoHq, StartFade(), UINT, tagITEM::wID, and xxxMNCancel(). Referenced by xxxMNButtonUp(), xxxMNDoubleClick(), and xxxMNKeyDown().
|
|
Definition at line 591 of file ntuser/kernel/menu.c. References _KillTimer(), _SetTimer(), BOOL, FALSE, gpsi, tagMENU::iTop, MFMWFP_DOWNARROW, MFMWFP_UPARROW, NULL, tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndPopupMenu, TRUE, and xxxMNSetTop(). Referenced by xxxMenuWindowProc(), xxxMNButtonDown(), xxxMNDoubleClick(), and xxxMNSelectItem().
|
|
Definition at line 2697 of file ntuser/kernel/menu.c. References _GetMenuDefaultItem(), BOOL, tagMENU::cItems, FALSE, tagITEM::fState, msg, NULL, tagPOPUPMENU::posSelectedItem, tagPOPUPMENU::ppopupmenuRoot, tagMENU::rgItems, tagPOPUPMENU::spmenu, tagITEM::spSubMenu, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, TestWF, ThreadLock, ThreadUnlock, TRUE, UINT, WFWIN40COMPAT, xxxMNDismissWithNotify(), xxxMNDoScroll(), xxxPeekMessage, and xxxSendMenuSelect(). Referenced by xxxHandleMenuMessages(), and xxxMenuWindowProc().
|
|
Definition at line 3180 of file ntuser/kernel/menu.c. References _HasCaptionIcon(), FALSE, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fIsSysMenu, GetWindowBorders(), IsMFMWFPWindow(), L, MFMWFP_ALTMENU, MFMWFP_NOITEM, MFMWFP_OFFMENU, MNItemHitTest(), NULL, OffsetRect(), PtInRect(), tagWND::rcWindow, RevalidateHwnd, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, SYSMET, TestWF, ThreadLockAlways, ThreadUnlock, TRUE, UINT, WFMINIMIZED, and xxxSendMessage(). Referenced by xxxHandleMenuMessages(), xxxMenuWindowProc(), and xxxMNMouseMove().
|
|
Definition at line 2492 of file ntuser/kernel/menu.c. References BOOL, FALSE, L, NULL, tagPOPUPMENU::spwndActivePopup, tagPOPUPMENU::spwndNextPopup, ThreadLockAlways, ThreadUnlock, TRUE, and xxxSendMessage(). Referenced by xxxMNButtonDown(), and xxxMNMouseMove().
|
|
Definition at line 1251 of file ntuser/kernel/menu.c. References _GetSubMenu(), _IsIconic, BOOL, dir(), FALSE, tagMENUSTATE::fButtonDown, tagMENUSTATE::fDragging, tagPOPUPMENU::fDropNextPopup, tagPOPUPMENU::fHasMenuBar, tagPOPUPMENU::fHierarchyDropped, tagMENUSTATE::fIgnoreButtonUp, tagPOPUPMENU::fIsMenuBar, tagMENUSTATE::fIsSysMenu, tagMENUSTATE::fModelessMenu, tagPOPUPMENU::fRtoL, tagITEM::fState, tagMENUSTATE::fUnderline, GetMenuInheritedContextHelpId(), GETPTI, gwinOldAppHackoMaticFlags, IsRootPopupMenu(), Lock, LockPopupMenu(), MFMWFP_NOITEM, MNFindItemInColumn(), MNFindNextValidItem(), NULL, tagPOPUPMENU::posSelectedItem, tagPOPUPMENU::ppopupmenuRoot, tagTHREADINFO::pq, PtiCurrent, PtoH, PtoHq, QF_CAPTURELOCKED, tagQ::QF_flags, RevalidateHmenu, RevalidateHwnd, tagPOPUPMENU::spmenu, tagWND::spmenu, tagWND::spmenuSys, tagITEM::spSubMenu, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, tagPOPUPMENU::spwndPrevPopup, TestWF, ThreadLock, ThreadUnlock, TRUE, UINT, UnlockPopupMenu(), WFCHILD, WFMINIMIZED, WFSYSMENU, tagITEM::wID, WOAHACK_CHECKALTKEYSTATE, WOAHACK_IGNOREALTKEYDOWN, xxxMNCloseHierarchy(), xxxMNDismiss(), xxxMNDismissWithNotify(), xxxMNOpenHierarchy(), xxxMNSelectItem(), xxxMNSetCapture(), xxxMNSwitchToAlternateMenu(), xxxSendHelpMessage(), and xxxSendMessage(). Referenced by xxxHandleMenuMessages(), xxxMenuWindowProc(), and xxxMNChar().
|
|
Definition at line 3618 of file ntuser/kernel/menu.c. References FALSE, tagMENUSTATE::fButtonDown, tagMENUSTATE::fInDoDragDrop, tagMENUSTATE::fModelessMenu, tagPOPUPMENU::fTrackMouseEvent, HWq, IsRootPopupMenu(), KEYBDHOLD, L, MFMWFP_ALTMENU, MFMWFP_NOITEM, MFMWFP_OFFMENU, tagMENUSTATE::mnFocus, MNSetTimerToAutoDismiss(), MOUSEHOLD, NULL, tagMENUSTATE::ptMouseLast, PtoH, tagPOPUPMENU::spwndActivePopup, tagPOPUPMENU::spwndNotify, TestWF, ThreadLock, ThreadUnlock, TrackMouseEvent(), TRUE, UINT, WFMINIMIZED, WFVISIBLE, xxxMNButtonDown(), xxxMNFindWindowFromPoint(), xxxMNHideNextHierarchy(), xxxMNSelectItem(), xxxMNSwitchToAlternateMenu(), xxxMNUpdateDraggingInfo(), and xxxSendMessage(). Referenced by xxxHandleMenuMessages(), and xxxMenuWindowProc().
|
|
Definition at line 1934 of file ntuser/kernel/menu.c. References _GetAsyncKeyState(), _KillTimer(), BOOL, tagMENU::cItems, ClearMF, ClrWF, CopyOffsetRect(), tagITEM::cxItem, tagITEM::cyItem, DF_MENUINUSE, tagDESKTOP::dwDTFlags, DWORD, tagPOPUPMENU::fAboutToHide, FALSE, tagPOPUPMENU::fDelayedFree, tagPOPUPMENU::fDesktopMenu, tagMENUSTATE::fDragAndDrop, tagPOPUPMENU::fDropNextPopup, tagPOPUPMENU::fDroppedLeft, tagPOPUPMENU::fHasMenuBar, tagPOPUPMENU::fHideTimer, tagPOPUPMENU::fHierarchyDropped, tagMENUSTATE::fInsideMenuLoop, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fIsSysMenu, tagMENUSTATE::fModelessMenu, tagPOPUPMENU::fNoNotify, tagPOPUPMENU::fRtoL, tagPOPUPMENU::fSendUninit, tagPOPUPMENU::fShowTimer, tagMENUSTATE::fUnderline, FWINABLE, HANDLEF_DESTROY, tagWND::head, HMChangeOwnerThread(), hModuleWin, HMPheFromObject, HW, tagPOPUPMENU::iDropDir, IDSYS_MNSHOW, IntersectRect(), KEYBDHOLD, L, Lock, LockPopupMenu(), LPVOID, MENUCLASS, MFMWFP_NOITEM, MFUNDERLINE, tagMENUSTATE::mnFocus, MNSW_SIZE, NT_SUCCESS, NULL, PAS_LEFT, PAS_OUT, PAS_RIGHT, tagDESKTOP::pDeskInfo, PlayEventSound(), tagTHREADINFO::pMenuState, tagPOPUPMENU::posDropped, tagPOPUPMENU::posSelectedItem, tagTHREADINFO::ppi, tagPOPUPMENU::ppmDelayedFree, tagPOPUPMENU::ppopupmenuRoot, tagWINDOWSTATION::pTerm, PtiCurrent, tagTERMINAL::ptiDesktop, PtoHq, PWND_TOP, PWND_TOPMOST, tagMONITOR::rcMonitor, tagWND::rcWindow, tagMENU::rgItems, tagTHREADINFO::rpdesk, tagDESKTOP::rpwinstaParent, SetMF, SetWF, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagITEM::spSubMenu, tagDESKTOPINFO::spwnd, tagPOPUPMENU::spwndActivePopup, tagDESKTOP::spwndMenu, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagWND::spwndOwner, tagPOPUPMENU::spwndPopupMenu, tagPOPUPMENU::spwndPrevPopup, SYSMET, TestMFS, TestMFT, TestWF, ThreadLock, ThreadLockAlways, ThreadUnlock, TIF_DISABLEHOOKS, tagTHREADINFO::TIF_flags, TRUE, Unlock, USER_SOUND_MENUPOPUP, WEFTOPMOST, WFOLDUI, WFVISIBLE, tagITEM::xItem, xxxCleanupDesktopMenu(), xxxClientRegisterDragDrop(), xxxCreateWindowEx(), xxxDestroyWindow(), xxxMNCloseHierarchy(), xxxMNDestroyHandler(), xxxMNPositionHierarchy(), xxxSendMessage(), xxxSetParent(), xxxSetWindowPos(), xxxUpdateWindow(), xxxWindowEvent(), and tagITEM::yItem. Referenced by xxxMenuWindowProc(), xxxMNButtonDown(), xxxMNButtonUp(), xxxMNKeyDown(), and xxxMNKeyFilter().
|
|
Definition at line 1683 of file ntuser/kernel/menu.c. References _MonitorFromRect(), _MonitorFromWindow(), BOOL, CopyRect, tagITEM::cxItem, cy, tagITEM::cyItem, tagMENU::dwArrowsOn, tagPOPUPMENU::fDroppedLeft, tagPOPUPMENU::fHierarchyDropped, tagPOPUPMENU::fIsMenuBar, gcyMenuScrollArrow, IsTrayWindow(), max, MFRTL, min, MNGetToppItem(), MSA_OFF, NULL, PAS_DOWN, PAS_HORZ, PAS_LEFT, PAS_RIGHT, PAS_UP, tagMONITOR::rcMonitor, tagWND::rcWindow, tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndPopupMenu, SYSMET, TestMF, TestWF, TRUE, UINT, WFMINIMIZED, tagITEM::xItem, xxxSendMinRectMessages(), and tagITEM::yItem. Referenced by xxxMenuWindowProc(), and xxxMNOpenHierarchy().
|
|
Definition at line 181 of file ntuser/kernel/menu.c. References FALSE, tagMENUSTATE::fSetCapture, NULL, tagTHREADINFO::pMenuState, PtiCurrent, QF_CAPTURELOCKED, and xxxReleaseCapture(). Referenced by xxxEndMenu(), xxxMNCancel(), xxxMNLoop(), xxxMNStartMenu(), and xxxTrackPopupMenuEx().
|
|
Definition at line 2818 of file ntuser/kernel/menu.c. References _KillTimer(), tagMENU::cItems, tagMENUSTATE::fAboutToAutoDismiss, tagPOPUPMENU::fAboutToHide, FALSE, tagMENUSTATE::fButtonDown, tagPOPUPMENU::fHasMenuBar, tagPOPUPMENU::fHideTimer, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fIsSysMenu, tagMENUSTATE::fMouseOffMenu, tagPOPUPMENU::fShowTimer, FWINABLE, IDSYS_MNHIDE, IDSYS_MNSHOW, L, Lock, MFMWFP_NOITEM, MNAnimate(), MNIsItemSelected(), MNIsScrollArrowSelected(), MNSetTimerToCloseHierarchy(), NULL, tagPOPUPMENU::posDropped, tagPOPUPMENU::posSelectedItem, tagPOPUPMENU::ppopupmenuRoot, tagMENU::rgItems, tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndActivePopup, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, tagPOPUPMENU::spwndPrevPopup, ThreadLock, ThreadUnlock, TRUE, xxxMNCloseHierarchy(), xxxMNDoScroll(), xxxMNInvertItem(), xxxSendMenuSelect(), xxxSendMessage(), and xxxWindowEvent(). Referenced by xxxMenuWindowProc(), xxxMNButtonDown(), xxxMNCancel(), xxxMNChar(), xxxMNKeyDown(), xxxMNKeyFilter(), xxxMNMouseMove(), and xxxMNSwitchToAlternateMenu().
|
|
Definition at line 152 of file ntuser/kernel/menu.c. References tagMENUSTATE::fSetCapture, gpqForeground, tagTHREADINFO::pMenuState, tagTHREADINFO::pq, PtiCurrent, QF_CAPTURELOCKED, tagQ::QF_flags, SCREEN_CAPTURE, tagQ::spwndCapture, tagPOPUPMENU::spwndNotify, TRUE, and xxxCapture(). Referenced by xxxMenuWindowProc(), xxxMNEndMenuState(), xxxMNKeyDown(), and xxxMNStartMenu().
|
|
Definition at line 495 of file ntuser/kernel/menu.c. References BOOL, tagMENU::cItems, tagITEM::cyItem, tagMENU::cyMax, tagMENU::cyMenu, tagMENU::dwArrowsOn, FALSE, tagMENU::hbrBack, tagMENU::iMaxTop, tagMENU::iTop, MFMWFP_DOWNARROW, MFMWFP_UPARROW, MNDrawArrow(), MNDrawFullNC(), MNGetToppItem(), MSA_ATBOTTOM, MSA_ATTOP, MSA_ON, NULL, tagMENU::rgItems, tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndPopupMenu, TRUE, UINT, xxxInvalidateRect(), xxxScrollWindowEx(), and tagITEM::yItem. Referenced by xxxMNDoScroll(), and xxxMNInvertItem().
|
|
Definition at line 795 of file ntuser/kernel/menu.c. References BOOL, FALSE, tagPOPUPMENU::fDestroyed, tagPOPUPMENU::fIsMenuBar, tagMENUSTATE::fIsSysMenu, tagPOPUPMENU::fIsSysMenu, FWINABLE, GetpMenuState(), Lock, MFMWFP_NOITEM, MFSYSMENU, NULL, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagWND::spmenuSys, tagMENU::spwndNotify, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, TestMF, TestWF, ThreadLock, ThreadUnlock, TRUE, Unlock, WFSYSMENU, xxxMNSelectItem(), and xxxWindowEvent(). Referenced by xxxHandleMenuMessages(), xxxMNChar(), xxxMNKeyDown(), xxxMNKeyFilter(), and xxxMNMouseMove().
|