14 references to InvalidIntPtr
System.Windows.Forms (14)
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
1072m.Result = NativeMethods.InvalidIntPtr; 1087m.Result = NativeMethods.InvalidIntPtr;
winforms\Managed\System\WinForms\ComboBox.cs (1)
1132UnsafeNativeMethods.SendMessage(new HandleRef(this, childEdit.Handle), NativeMethods.EM_REPLACESEL, NativeMethods.InvalidIntPtr, str);
winforms\Managed\System\WinForms\Control.cs (3)
11968Debug.Assert(value != NativeMethods.InvalidIntPtr, "Outdated call to SetParentHandle"); 19407private static IntPtr oleAccAvailable = NativeMethods.InvalidIntPtr; 19646if (oleAccAvailable == NativeMethods.InvalidIntPtr) {
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1407SendMessage(NativeMethods.DTM_SETMCFONT, CalendarFontHandle, NativeMethods.InvalidIntPtr);
winforms\Managed\System\WinForms\FileDialog.cs (4)
801UnsafeNativeMethods.SetWindowLong(new HandleRef(null, hWnd), 0, new HandleRef(null, NativeMethods.InvalidIntPtr)); 802return NativeMethods.InvalidIntPtr; 806UnsafeNativeMethods.SetWindowLong(new HandleRef(null, hWnd), 0, new HandleRef(null, NativeMethods.InvalidIntPtr)); 807return NativeMethods.InvalidIntPtr;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
2233UnsafeNativeMethods.SendMessage(activeHwndHandleRef, NativeMethods.WM_NCACTIVATE, (IntPtr)1, NativeMethods.InvalidIntPtr);
winforms\Managed\System\WinForms\ToolTip.cs (2)
1178ti.lpszText = NativeMethods.InvalidIntPtr; 1183ti.lpszText = NativeMethods.InvalidIntPtr;