1 write to _hmenu
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1172
_hmenu
= hmenu;
29 references to _hmenu
UIAutomationClientSideProviders (29)
MS\Internal\AutomationProxies\WindowsMenu.cs (29)
1274
if (Misc.GetMenuItemRect(_hwnd,
_hmenu
, _item, out rc))
1507
while (!Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE) &&
1597
IntPtr submenu = _menuType == MenuType.System ?
_hmenu
: UnsafeNativeMethods.GetSubMenu (
_hmenu
, _item);
1616
IntPtr submenu = _menuType == MenuType.System ?
_hmenu
: UnsafeNativeMethods.GetSubMenu (
_hmenu
, _item);
1865
return Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE);
1880
return Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_CHECKED);
1889
if (!Misc.GetMenuItemInfo(
_hmenu
, _item, true, ref menuItemInfo))
1948
if (Misc.GetMenuItemInfo(
_hmenu
, _item, true, ref menuItemInfo))
1982
IntPtr submenu = UnsafeNativeMethods.GetSubMenu(
_hmenu
, _item);
2134
IntPtr hSubmenu = UnsafeNativeMethods.GetSubMenu(
_hmenu
, _item);
2193
int cItems = Misc.GetMenuItemCount(
_hmenu
);
2196
for (item = 0; item < cItems && !Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE); item++)
2331
while (!Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE) &&
2351
int c = Misc.GetMenuItemCount(
_hmenu
);
2359
if (!IsSeparator(
_hmenu
, i))
2362
if (Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, i, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE))
2396
(IntPtr.Zero != UnsafeNativeMethods.GetSubMenu (
_hmenu
, 0)) &&
2397
Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, 0, NativeMethods.MF_BYPOSITION), NativeMethods.MF_BITMAP))
2502
int result = UnsafeNativeMethods.GetMenuItemID(
_hmenu
, _item);
2534
int length = UnsafeNativeMethods.GetMenuString(
_hmenu
, _item, IntPtr.Zero, 0, NativeMethods.MF_BYPOSITION);
2543
if (UnsafeNativeMethods.GetMenuString(
_hmenu
, _item, strbldr, length + 1, NativeMethods.MF_BYPOSITION) == length)
2556
if (Misc.GetMenuItemInfo(
_hmenu
, _item, true, ref menuItemInfo))
2647
int state = UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION);
2661
return new MenuItem(_hwnd, _parent, _item - 1,
_hmenu
, _menuType);
2674
if (nextItem < Misc.GetMenuItemCount(
_hmenu
))
2676
return new MenuItem(_hwnd, _parent, nextItem,
_hmenu
, _menuType);
2712
if (new MenuItem (_hwnd, this._parent, i,
_hmenu
, _menuType).HotKey == chHotKey)