System.Windows.Forms.XplatUICarbon.Text C# (CSharp) Method

Text() private method

private Text ( IntPtr handle, string text ) : bool
handle System.IntPtr
text string
return bool
		internal override bool Text(IntPtr handle, string text) {
			Hwnd hwnd = Hwnd.ObjectFromHandle (handle);
			if (WindowMapping [hwnd.Handle] != null) {
				SetWindowTitleWithCFString ((IntPtr)(WindowMapping [hwnd.Handle]), __CFStringMakeConstantString (text));
			}
			SetControlTitleWithCFString (hwnd.whole_window, __CFStringMakeConstantString (text));
			SetControlTitleWithCFString (hwnd.client_window, __CFStringMakeConstantString (text));
			return true;
		}
		
XplatUICarbon