#include "precomp.h"
Go to the source code of this file.
Functions | |
PMENU | xxxGetInitMenuParam (PWND pwndMenu, BOOL *lpfSystem) |
void | MNPositionSysMenu (PWND pwnd, PMENU pmenusys) |
void | MNFlushDestroyedPopups (PPOPUPMENU ppopupmenu, BOOL fUnlock) |
PPOPUPMENU | MNAllocPopup (BOOL fForceAlloc) |
VOID | MNFreePopup (PPOPUPMENU ppopupmenu) |
BOOL | MNEndMenuStateNotify (PMENUSTATE pMenuState) |
void | xxxMNEndMenuState (BOOL fFreePopup) |
BOOL | MNCreateAnimationBitmap (PMENUSTATE pMenuState, UINT cx, UINT cy) |
void | MNDestroyAnimationBitmap (PMENUSTATE pMenuState) |
BOOL | MNSetupAnimationDC (PMENUSTATE pMenuState) |
BOOL | xxxUnlockMenuState (PMENUSTATE pMenuState) |
PMENUSTATE | xxxMNAllocMenuState (PTHREADINFO ptiCurrent, PTHREADINFO ptiNotify, PPOPUPMENU ppopupmenuRoot) |
PMENUSTATE | xxxMNStartMenuState (PWND pwnd, DWORD cmd, LPARAM lParam) |
BOOL | xxxMNStartMenu (PPOPUPMENU ppopupmenu, int mn) |
|
Definition at line 143 of file mnstate.c. References gpopupMenu, PUDF_POPUPINUSE, SET_PUDF, and TEST_PUDF. Referenced by xxxMenuWindowProc(), and xxxMNStartMenuState().
|
|
Definition at line 389 of file mnstate.c. References BOOL, cy, FALSE, gpDispInfo, tagMENUSTATE::hbmAni, tagDISPLAYINFO::hdcScreen, NULL, and TRUE. Referenced by xxxMenuWindowProc().
|
|
Definition at line 414 of file mnstate.c. References tagMENUSTATE::hbmAni, and NULL. Referenced by MNAnimate(), and xxxMNEndMenuState().
|
|
Definition at line 234 of file mnstate.c. References BOOL, FALSE, GETPTI, NULL, tagMENUSTATE::pGlobalPopupMenu, tagTHREADINFO::pMenuState, tagMENUSTATE::pmnsPrev, tagMENUSTATE::ptiMenuStateOwner, tagPOPUPMENU::spwndNotify, and TRUE. Referenced by xxxDestroyWindow(), and xxxMNEndMenuState().
|
|
Definition at line 91 of file mnstate.c. References FALSE, tagPOPUPMENU::fDelayedFree, tagPOPUPMENU::fDestroyed, IsRootPopupMenu(), MNFreePopup(), NULL, tagPOPUPMENU::ppmDelayedFree, and tagPOPUPMENU::ppopupmenuRoot. Referenced by MNFreePopup(), and xxxMNLoop().
|
|
Definition at line 165 of file mnstate.c. References CLEAR_PUDF, DF_MENUINUSE, tagDESKTOP::dwDTFlags, tagPOPUPMENU::fDesktopMenu, tagPOPUPMENU::fFreed, tagPOPUPMENU::fIsMenuBar, FNID_MENU, GETFNID, gpopupMenu, IsRootPopupMenu(), MNFlushDestroyedPopups(), NULL, tagPOPUPMENU::ppopupmenuRoot, PtiCurrent, PUDF_POPUPINUSE, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagPOPUPMENU::spwndActivePopup, tagDESKTOP::spwndMenu, tagPOPUPMENU::spwndNextPopup, tagPOPUPMENU::spwndNotify, tagPOPUPMENU::spwndPopupMenu, tagPOPUPMENU::spwndPrevPopup, TEST_PUDF, TRUE, Unlock, UnlockPopupMenu(), Validateppopupmenu, and VOID(). Referenced by MNFlushDestroyedPopups(), xxxMNDestroyHandler(), xxxMNEndMenuState(), and xxxMNStartMenuState().
|
|
Definition at line 25 of file mnstate.c. References tagMENU::cItems, tagITEM::cxItem, tagITEM::cyItem, FALSE, GetWindowBorders(), Lock, NULL, OffsetRect(), tagMENU::rgItems, tagMENU::spwndNotify, SYSMET, TestMF, TestWF, TRUE, WEFTOOLWINDOW, WFMINIMIZED, tagITEM::xItem, and tagITEM::yItem. Referenced by xxxMNInvertItem(), xxxMNKeyFilter(), xxxMNStartMenu(), and xxxSetSystemMenu().
|
|
Definition at line 425 of file mnstate.c. References BOOL, FALSE, ghMenuFont, gMenuState, gpDispInfo, tagDISPLAYINFO::hdcScreen, NULL, and TRUE. Referenced by FinalUserInit(), and xxxMNAllocMenuState().
|
|
Definition at line 808 of file mnstate.c. References CheckLock, tagMENU::cItems, FALSE, NULL, tagWND::spmenu, TestWF, TestwndChild, TRUE, WFMINIMIZED, and xxxGetSysMenu(). Referenced by xxxMNStartMenu().
|
|
Definition at line 458 of file mnstate.c. References BOOL, DBGIncModalMenuCount, gMenuState, IncSFWLockCount(), MENUANIDC, MENUSTATE, MNSetupAnimationDC(), NULL, PBYTE, tagMENUSTATE::pGlobalPopupMenu, tagTHREADINFO::pMenuState, tagMENUSTATE::pmnsPrev, PtiCurrent, tagMENUSTATE::ptiMenuStateOwner, PUDF_MENUSTATEINUSE, tagTHREADINFO::rpdesk, SET_PUDF, TEST_PUDF, TRUE, and xxxMNEndMenuState(). Referenced by xxxMNStartMenuState(), and xxxTrackPopupMenuEx().
|
|
Definition at line 265 of file mnstate.c. References CLEAR_PUDF, DBGDecModalMenuCount, DecSFWLockCount(), DF_MENUINUSE, tagDESKTOP::dwDTFlags, tagMENUSTATE::dwLockCount, FALSE, tagPOPUPMENU::fDelayedFree, tagPOPUPMENU::fDestroyed, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fIsTrackPopup, tagMENUSTATE::fModelessMenu, GetpMenuState(), GETPTI, gMenuState, tagMENUSTATE::hbmAni, MNDestroyAnimationBitmap(), MNEndMenuStateNotify(), MNFreePopup(), NULL, tagMENUSTATE::pGlobalPopupMenu, tagTHREADINFO::pMenuState, tagMENUSTATE::pmnsPrev, PtiCurrent, tagDESKTOP::PtiList, tagMENUSTATE::ptiMenuStateOwner, PUDF_MENUSTATEINUSE, tagTHREADINFO::rpdesk, tagPOPUPMENU::spwndActivePopup, tagDESKTOP::spwndMenu, TEST_PUDF, tagMENUSTATE::uButtonDownHitArea, tagMENUSTATE::uDraggingHitArea, UnlockMFMWFPWindow(), xxxActivateThisWindow(), and xxxMNSetCapture(). Referenced by xxxCallHandleMenuMessages(), xxxDestroyThreadInfo(), xxxMenuWindowProc(), xxxMNAllocMenuState(), xxxSysCommand(), xxxTrackPopupMenuEx(), and xxxUnlockMenuState().
|
|
Definition at line 677 of file mnstate.c. References _GetKeyState(), BOOL, FALSE, tagMENUSTATE::fAutoDismiss, tagMENUSTATE::fButtonAlwaysDown, tagMENUSTATE::fButtonDown, tagPOPUPMENU::fDestroyed, tagMENUSTATE::fDragAndDrop, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fIsSysMenu, tagMENUSTATE::fIsSysMenu, tagPOPUPMENU::fIsTrackPopup, tagMENUSTATE::fMenuStarted, tagMENUSTATE::fModelessMenu, tagPOPUPMENU::fNoNotify, tagMENUSTATE::fNotifyByPos, FWINABLE, GetpMenuState(), HWq, IsRootPopupMenu(), L, LockPopupMenu(), tagMENUSTATE::mnFocus, MNPositionSysMenu(), NT_SUCCESS, NULL, PtoH, tagPOPUPMENU::spmenu, tagPOPUPMENU::spmenuAlternate, tagPOPUPMENU::spwndNotify, TestMF, ThreadLock, ThreadUnlock, TRUE, xxxClientLoadOLE(), xxxGetInitMenuParam(), xxxGetSysMenu(), xxxMNRecomputeBarIfNeeded(), xxxMNReleaseCapture(), xxxMNSetCapture(), xxxSendMessage(), and xxxWindowEvent(). Referenced by xxxMNKeyFilter(), xxxMNLoop(), and xxxTrackPopupMenuEx().
|
|
Definition at line 540 of file mnstate.c. References _PostMessage(), CheckLock, FALSE, tagPOPUPMENU::fHasMenuBar, tagPOPUPMENU::fIsMenuBar, tagPOPUPMENU::fRtoL, GETPTI, L, Lock, MFMWFP_NOITEM, MFRTL, MNAllocPopup(), MNFreePopup(), NULL, tagTHREADINFO::pMenuState, tagPOPUPMENU::posSelectedItem, tagPOPUPMENU::ppopupmenuRoot, PtiCurrent, tagWND::spmenu, tagPOPUPMENU::spwndNotify, tagWND::spwndParent, tagPOPUPMENU::spwndPopupMenu, TestMF, TestWF, TestwndChild, ThreadLockAlways, ThreadUnlock, TRUE, WEFRTLREADING, WFSYSMENU, xxxMNAllocMenuState(), and xxxSendMessage(). Referenced by xxxSysCommand().
|
|
Definition at line 441 of file mnstate.c. References BOOL, tagMENUSTATE::dwLockCount, ExitMenuLoop(), FALSE, tagMENUSTATE::pGlobalPopupMenu, TRUE, and xxxMNEndMenuState(). Referenced by xxxMenuWindowProc(), xxxMNDragLeave(), and xxxMNDragOver().
|