Beispiel #1
0
 void PostSystemCommand(NativeConstants.SystemCommand systemCommand) =>
 NativeMethods.User32.PostMessageW(_ownerHandle, NativeConstants.WindowMessage.WM_SYSCOMMAND, (IntPtr)systemCommand, IntPtr.Zero);
Beispiel #2
0
 public static extern bool EnableMenuItem(IntPtr hMenu, NativeConstants.SystemCommand uIDEnableItem, NativeEnums.MF uEnable);