>>I'm removing and re-adding some controls to a user control. I want to prevent the 'blinking' affect. Is there something like VFP's LockScreen in C#?
>>
>>Thanks
>
>I just searched here -
Re: C# equivalent of Vfp's LockScreen Thread #
1231438 Message #
1231443I'v already Googled it and found that Suspend/Resume don't work as advertised. I saw one post that suggested:
[DllImport("user32.dll")]
public static extern int SendMessage(IntPtr hWnd, Int32 wMsg, bool wParam, Int32 lParam);
private const int WM_SETREDRAW = 11;
but this is foreign to me. I'm not even sure what this does or where to put it.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people