P
Philip Carnstam
Hi,
I am trying desperately to get the RedrawWindow function in the User32 lib
to work. But it just does'nt seem to do that. Why?
[DllImport("User32", CharSet=CharSet.Unicode)] //Do'nt know why I would set
CharSet to Unicode, just testing stuff!
private static extern int RedrawWindow(IntPtr hWnd, Rectangle Re, long H,
long Fl);
{
bool T = RedrawWindow(this.Handle, new Rectangle(0,0,100,100), 0, 1);
}
But T is always returned as false. I have tried to make use of a couple of
examples, but still nothing!
Thanks,
Philip
I am trying desperately to get the RedrawWindow function in the User32 lib
to work. But it just does'nt seem to do that. Why?
[DllImport("User32", CharSet=CharSet.Unicode)] //Do'nt know why I would set
CharSet to Unicode, just testing stuff!
private static extern int RedrawWindow(IntPtr hWnd, Rectangle Re, long H,
long Fl);
{
bool T = RedrawWindow(this.Handle, new Rectangle(0,0,100,100), 0, 1);
}
But T is always returned as false. I have tried to make use of a couple of
examples, but still nothing!
Thanks,
Philip