System.Windows.Forms.XplatUICarbon.SetFocus C# (CSharp) Méthode

SetFocus() private méthode

private SetFocus ( IntPtr handle ) : void
handle System.IntPtr
Résultat void
		internal override void SetFocus(IntPtr handle) {
			if (FocusWindow != IntPtr.Zero) {
				PostMessage(FocusWindow, Msg.WM_KILLFOCUS, handle, IntPtr.Zero);
			}
			PostMessage(handle, Msg.WM_SETFOCUS, FocusWindow, IntPtr.Zero);
			FocusWindow = handle;
		}
XplatUICarbon