示例#1
0
 internal static void SelectMenuItem(System.IntPtr hWnd, int hMenuItemId)
 {
     Win32NativeMethods.PostMessage(hWnd, WindowMessage.WM_COMMAND, (System.IntPtr)hMenuItemId, System.IntPtr.Zero);
 }