M
Marcos Cruz Arjona
Hi,
In order to scroll the client area of a custom control, I call ScrollDC
unmanaged function using the P/Invoke service in the .NET Compact Framework.
I've declared it, as follows:
[DllImport("codedll.dll", EntryPoint="ScrollDC")]
public static extern bool ScrollDC(IntPtr hdc, int dx, int dy, ref RECT
lprcScroll, ref REC lprcClip, int hrgnUpdate, ref RECT lprcUpdate);
So far, it works fine. However, ¿how can I pass a null pointer on lprcScroll
& lprcClip arguments?. I have tried several ways, but I always got compiler
errors.
Best regards,
M a r c o s
In order to scroll the client area of a custom control, I call ScrollDC
unmanaged function using the P/Invoke service in the .NET Compact Framework.
I've declared it, as follows:
[DllImport("codedll.dll", EntryPoint="ScrollDC")]
public static extern bool ScrollDC(IntPtr hdc, int dx, int dy, ref RECT
lprcScroll, ref REC lprcClip, int hrgnUpdate, ref RECT lprcUpdate);
So far, it works fine. However, ¿how can I pass a null pointer on lprcScroll
& lprcClip arguments?. I have tried several ways, but I always got compiler
errors.
Best regards,
M a r c o s