This is the discussion forum for the HtmlEditor. See also the
HtmlEditor home page, where you can download the control, and the
Documentation Wiki, a collaborative project for documenting the control.
error in ResizeBorder?
Posted by:
Winger300 (---.nott.cable.ntl.com)
Date: Wednesday, 09-Jul-2003, 23:38:39
I was getting this...
An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll
when i resize my browser app.
I replaced this...
int ResizeBorder([In] RECT rect, [In] Object doc, [In] Boolean
fFrameWindow);
with this...
void ResizeBorder(ref tagRECT prcBorder,
[MarshalAs(UnmanagedType.Interface)] IntPtr
pUIWindow, int fRameWindow);
in Comsupport.cs and it seems to fix it.
Re: error in ResizeBorder?
Posted by:
Tim (---.server.ntl.com)
Date: Thursday, 10-Jul-2003, 07:13:49
Interesting. There seemed to be some inconsistency in the way ResizeBorder was defined. How about this one:
[return: MarshalAs(UnmanagedType.I4)][PreserveSig]
int ResizeBorder([In] RECT prcBorder, [In, MarshalAs(UnmanagedType.Interface)] IntPtr pUIWindow, [In,
MarshalAs(UnmanagedType.Bool)] Boolean fFrameWindow);
Tim