1 write to _hmenu
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1191
_hmenu
= hmenu;
29 references to _hmenu
UIAutomationClientsideProviders (29)
MS\Internal\AutomationProxies\WindowsMenu.cs (29)
1295
if (Misc.GetMenuItemRect(_hwnd,
_hmenu
, _item, out rc))
1528
while (!Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE) &&
1618
IntPtr submenu = _menuType == MenuType.System ?
_hmenu
: UnsafeNativeMethods.GetSubMenu (
_hmenu
, _item);
1637
IntPtr submenu = _menuType == MenuType.System ?
_hmenu
: UnsafeNativeMethods.GetSubMenu (
_hmenu
, _item);
1886
return Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE);
1901
return Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_CHECKED);
1910
if (!Misc.GetMenuItemInfo(
_hmenu
, _item, true, ref menuItemInfo))
1969
if (Misc.GetMenuItemInfo(
_hmenu
, _item, true, ref menuItemInfo))
2003
IntPtr submenu = UnsafeNativeMethods.GetSubMenu(
_hmenu
, _item);
2155
IntPtr hSubmenu = UnsafeNativeMethods.GetSubMenu(
_hmenu
, _item);
2214
int cItems = Misc.GetMenuItemCount(
_hmenu
);
2217
for (item = 0; item < cItems && !Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE); item++)
2352
while (!Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE) &&
2372
int c = Misc.GetMenuItemCount(
_hmenu
);
2380
if (!IsSeparator(
_hmenu
, i))
2383
if (Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, i, NativeMethods.MF_BYPOSITION), NativeMethods.MF_HILITE))
2417
(IntPtr.Zero != UnsafeNativeMethods.GetSubMenu (
_hmenu
, 0)) &&
2418
Misc.IsBitSet(UnsafeNativeMethods.GetMenuState(
_hmenu
, 0, NativeMethods.MF_BYPOSITION), NativeMethods.MF_BITMAP))
2523
int result = UnsafeNativeMethods.GetMenuItemID(
_hmenu
, _item);
2555
int length = UnsafeNativeMethods.GetMenuString(
_hmenu
, _item, IntPtr.Zero, 0, NativeMethods.MF_BYPOSITION);
2564
if (UnsafeNativeMethods.GetMenuString(
_hmenu
, _item, strbldr, length + 1, NativeMethods.MF_BYPOSITION) == length)
2577
if (Misc.GetMenuItemInfo(
_hmenu
, _item, true, ref menuItemInfo))
2668
int state = UnsafeNativeMethods.GetMenuState(
_hmenu
, _item, NativeMethods.MF_BYPOSITION);
2682
return new MenuItem(_hwnd, _parent, _item - 1,
_hmenu
, _menuType);
2695
if (nextItem < Misc.GetMenuItemCount(
_hmenu
))
2697
return new MenuItem(_hwnd, _parent, nextItem,
_hmenu
, _menuType);
2733
if (new MenuItem (_hwnd, this._parent, i,
_hmenu
, _menuType).HotKey == chHotKey)