private IsDialogMessageA ( |
||
hDlg | ||
msg | MSG | |
return | bool |
public static extern bool IsDialogMessageA(IntPtr hDlg, ref MSG msg);
public virtual int TranslateAccelerator(MSG[] arrMsg) { MSG msg = arrMsg[0]; if ((msg.message < NativeMethods.WM_KEYFIRST || msg.message > NativeMethods.WM_KEYLAST) && (msg.message < NativeMethods.WM_MOUSEFIRST || msg.message > NativeMethods.WM_MOUSELAST)) { return(1); } return((NativeMethods.IsDialogMessageA(this.panel.Handle, ref msg)) ? 0 : 1); }