I have made a form called StickyNotes that keeps on flickering after resizing it.
So I try a lots of diffirent code that I have found on the internet to prevent this.
Now I want to try the WM_ERASEBKGND, but i get an error:
"The name 'Win32API' does not exist in the current context"
What do I have to declare to make this methode work?
protected override void WndProc(ref Message m)
if (m.Msg == Win32API.WM_ERASEBKGND)
m.Result = new IntPtr(0);