2 writes to childEdit
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ComboBox.cs (2)
2454
childEdit
= new ComboBoxChildNativeWindow(this, ChildWindowType.Edit);
3090
childEdit
= null;
39 references to childEdit
System.Windows.Forms (39)
winforms\Managed\System\WinForms\ComboBox.cs (39)
379
childEditAccessibleObject = new ComboBoxChildEditUiaProvider(this,
childEdit
.Handle);
655
return focus != IntPtr.Zero && ((
childEdit
!= null && focus ==
childEdit
.Handle) || (childListBox != null && focus == childListBox.Handle));
1130
Debug.Assert(
childEdit
!= null);
1131
if (
childEdit
!= null) {
1132
UnsafeNativeMethods.SendMessage(new HandleRef(this,
childEdit
.Handle), NativeMethods.EM_REPLACESEL, NativeMethods.InvalidIntPtr, str);
1602
if (
childEdit
== null) {
1613
UnsafeNativeMethods.GetWindowRect(new HandleRef(this,
childEdit
.Handle), ref editRectMid);
1755
if (!DesignMode && (
childEdit
!= null && m.HWnd ==
childEdit
.Handle) && !LocalAppContextSwitches.EnableLegacyIMEFocusInComboBox) {
1768
if (
childEdit
!= null && m.HWnd ==
childEdit
.Handle) {
1769
UnsafeNativeMethods.SendMessage(new HandleRef(this,
childEdit
.Handle), NativeMethods.EM_SETMARGINS,
1947
if (Cursor != DefaultCursor &&
childEdit
!= null && m.HWnd ==
childEdit
.Handle && NativeMethods.Util.LOWORD(m.LParam) == NativeMethods.HTCLIENT) {
1996
if (
childEdit
!= null) {
1998
if (m.HWnd ==
childEdit
.Handle) {
1999
childWindow =
childEdit
;
2048
if (
childEdit
!= null &&
childEdit
.Handle != IntPtr.Zero) {
2049
SafeNativeMethods.InvalidateRect(new HandleRef(this,
childEdit
.Handle), null, false);
2434
Debug.Assert(
childEdit
== null, "Child edit window already attached");
2437
bool ok =
childEdit
== null && childListBox == null;
2455
childEdit
.AssignHandle(hwnd);
2459
UnsafeNativeMethods.SendMessage(new HandleRef(this,
childEdit
.Handle), NativeMethods.EM_SETMARGINS,
3086
if (
childEdit
!= null) {
3089
childEdit
.ReleaseHandle();
3146
if (!IsHandleCreated ||
childEdit
== null) {
3165
SafeNativeMethods.SHAutoComplete(new HandleRef(this,
childEdit
.Handle), mode);
3172
if (!stringSource.Bind(new HandleRef(this,
childEdit
.Handle), (int)AutoCompleteMode)) {
3189
SafeNativeMethods.SHAutoComplete(new HandleRef(this,
childEdit
.Handle), mode);
3196
if (!stringSource.Bind(new HandleRef(this,
childEdit
.Handle), (int)AutoCompleteMode)) {
3212
SafeNativeMethods.SHAutoComplete(new HandleRef(this,
childEdit
.Handle), mode);
3229
int ret = SafeNativeMethods.SHAutoComplete(new HandleRef(this,
childEdit
.Handle), (int)AutoCompleteSource | mode);
3239
SafeNativeMethods.SHAutoComplete(new HandleRef(this,
childEdit
.Handle), mode);
3442
if (
childEdit
!= null &&
childEdit
.Handle != IntPtr.Zero) {
3443
UnsafeNativeMethods.SendMessage(new HandleRef(this,
childEdit
.Handle), NativeMethods.WM_SETTEXT, IntPtr.Zero, s);
4915
if (hwnd == _owningComboBox.
childEdit
.Handle) {