#include "precomp.h"
Go to the source code of this file.
Functions | |
DWORD | MNRecalcTabStrings (HDC, PMENU, UINT, UINT, DWORD, DWORD) |
BOOL | xxxMNGetBitmapSize (LPITEM pItem, PWND pwndNotify) |
BOOL | xxxMNItemSize (PMENU pMenu, PWND pwndNotify, HDC hdc, PITEM pItem, BOOL fPopup, LPPOINT lppt) |
int | xxxMNCompute (PMENU pMenu, PWND pwndNotify, DWORD yMenuTop, DWORD xMenuLeft, DWORD cxMax, LPDWORD lpdwMenuHeight) |
void | MBC_RightJustifyMenu (PMENU pMenu) |
int | xxxMenuBarCompute (PMENU pMenu, PWND pwndNotify, DWORD yMenuTop, DWORD xMenuLeft, int cxMax) |
void | xxxMNRecomputeBarIfNeeded (PWND pwndNotify, PMENU pMenu) |
PWND | GetMenuPwnd (PWND pwnd, PMENU pmenu) |
BOOL | xxxGetMenuItemRect (PWND pwnd, PMENU pMenu, UINT uIndex, LPRECT lprcScreen) |
UINT | MNItemHitTest (PMENU pMenu, PWND pwnd, POINT pt) |
int | xxxMenuItemFromPoint (PWND pwnd, PMENU pMenu, POINT ptScreen) |
PMENU | MakeMenuRtoL (PMENU pMenu, BOOL bRtoL) |
|
Definition at line 893 of file mncomput.c. References FNID_MENU, GETFNID, MFISPOPUP, MNGetPopupFromMenu(), NULL, tagPOPUPMENU::spmenu, tagPOPUPMENU::spwndPopupMenu, and TestMF. Referenced by xxxGetMenuItemRect(), and xxxMenuItemFromPoint().
|
|
Definition at line 995 of file mncomput.c. References tagMENU::cItems, ClearMF, ClearMFT, MFRTL, tagMENU::rgItems, SetMF, SetMFT, and tagITEM::spSubMenu. Referenced by xxxInsertMenuItem(), and xxxSetMenuItemInfo().
|
|
Definition at line 571 of file mncomput.c. References BOOL, tagMENU::cItems, tagITEM::cxItem, tagMENU::cxMenu, tagITEM::cyItem, DWORD, tagITEM::hbmp, IsMDIItem(), MFMWFP_NOITEM, MFRTL, tagMENU::rgItems, tagMENU::spwndNotify, TestMF, TestMFT, TestWF, WFWIN40COMPAT, tagITEM::xItem, and tagITEM::yItem. Referenced by xxxMenuBarCompute().
|
|
Definition at line 2983 of file ntuser/kernel/menu.c.
|
|
Definition at line 796 of file mncomput.c. References CALL_LPK, CheckLock, tagMENU::cItems, DWORD, FindCharPosition(), gcxMenuFontChar, gpsi, NULL, OBI_MENUCHECK, PtiCurrentShared, tagMENU::rgItems, TestMFT, TextPointer, UINT, and xxxClientGetTextExtentPointW(). Referenced by xxxMNCompute().
|
|
Definition at line 911 of file mncomput.c. References BOOL, CheckLock, tagMENU::cItems, tagITEM::cxItem, tagITEM::cyItem, FALSE, GetMenuPwnd(), MFISPOPUP, NULL, OffsetRect(), tagWND::rcClient, tagWND::rcWindow, tagMENU::rgItems, SetRectEmpty, TestMF, TestWF, TRUE, WFWIN50COMPAT, tagITEM::xItem, xxxMNRecomputeBarIfNeeded(), and tagITEM::yItem. Referenced by NtUserGetMenuItemRect().
|
|
Definition at line 706 of file mncomput.c. References CheckLock, DWORD, MBC_RightJustifyMenu(), MFISPOPUP, SYSMET, TestMF, and xxxMNCompute(). Referenced by xxxCalcClientRect(), xxxDrawMenuBarTemp(), xxxMenuBarDraw(), and xxxMNRecomputeBarIfNeeded().
|
|
Definition at line 972 of file mncomput.c. References CheckLock, GetMenuPwnd(), MFISPOPUP, MFMWFP_NOITEM, MNItemHitTest(), NULL, TestMF, and xxxMNRecomputeBarIfNeeded(). Referenced by NtUserMenuItemFromPoint().
|
|
Definition at line 233 of file mncomput.c. References _GetDCEx(), _ReleaseDC(), BOOL, CH_HELPPREFIX, CheckLock, tagMENU::cItems, tagITEM::cxItem, tagMENU::cxMenu, tagMENU::cxTextAlign, tagITEM::cyItem, tagMENU::cyMenu, tagTHREADINFO::dwExpWinVer, DWORD, FALSE, tagMENU::fFlags, gcxMenuFontChar, ghMenuFont, gpsi, tagITEM::hbmp, INT, L, Lock, tagITEM::lpstr, max, MFISPOPUP, MFMULTIROW, MNLEFTMARGIN, MNRecalcTabStrings(), MNXSPACE, NULL, OBI_MENUCHECK, PtiCurrent, tagMENU::rgItems, tagMENU::spwndNotify, SYSMET, TestMF, TestMFT, TestWF, TextPointer, TRUE, UINT, VER40, WFWIN40COMPAT, tagITEM::xItem, xxxMNItemSize(), and tagITEM::yItem. Referenced by xxxMenuBarCompute(), and xxxMenuWindowProc().
|
|
Definition at line 27 of file mncomput.c. References BOOL, tagITEM::cxBmp, tagITEM::cyBmp, tagITEM::dwItemData, FALSE, gpsi, LPITEM, MNIS_MEASUREBMP, TRUE, UINT, tagITEM::wID, and xxxSendMessage(). Referenced by xxxMNItemSize().
|
|
Definition at line 62 of file mncomput.c. References BOOL, CheckLock, tagITEM::cxBmp, tagMENU::cxTextAlign, tagITEM::cyBmp, DWORD, FindCharPosition(), gcxMenuFontChar, gcyMenuFontChar, gcyMenuFontExternLeading, ghMenuFontDef, gpsi, tagITEM::hbmp, tagITEM::lpstr, max, MFISPOPUP, MNIS_MEASUREBMP, MNLEFTMARGIN, MNXSPACE, NULL, OBI_MENUCHECK, SYSMET, TestMF, TestMFS, TestMFT, TextPointer, xxxMNGetBitmapSize(), and xxxPSMGetTextExtent(). Referenced by xxxMNCompute().
|
|
Definition at line 758 of file mncomput.c. References CheckLock, tagMENU::cxMenu, tagMENU::cyMenu, FALSE, GetCaptionHeight(), GetWindowBorders(), MFISPOPUP, MFSYSMENU, tagWND::rcWindow, tagMENU::spwndNotify, SYSMET, TestMF, TRUE, and xxxMenuBarCompute(). Referenced by xxxGetMenuItemRect(), xxxHiliteMenuItem(), xxxHotTrackMenu(), xxxMenuItemFromPoint(), and xxxMNStartMenu().
|