15 references to EnableMenuItem
PresentationFramework (15)
System\Windows\Shell\WindowChromeWorker.cs (15)
687NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 688NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 689NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 690NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 691NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, mfDisabled); 694NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 695NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 696NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 697NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, mfDisabled); 698NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled); 701NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfDisabled); 702NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfEnabled); 703NativeMethods.EnableMenuItem(hmenu, SC.SIZE, canSize ? mfEnabled : mfDisabled); 704NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 705NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled);