15 references to EnableMenuItem
PresentationFramework (15)
System\Windows\Shell\WindowChromeWorker.cs (15)
682NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 683NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 684NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 685NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 686NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, mfDisabled); 689NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 690NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 691NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 692NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, mfDisabled); 693NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled); 696NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfDisabled); 697NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfEnabled); 698NativeMethods.EnableMenuItem(hmenu, SC.SIZE, canSize ? mfEnabled : mfDisabled); 699NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 700NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled);