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