日期:2014-05-18 浏览次数:21098 次
[DllImport( "USER32.DLL ", CharSet=CharSet.Auto, SetLastError=true)] public static extern bool SendMessage( IntPtr hWnd, // handle to destination window int Msg, // message int wParam // first message parameter ); const int WM_GETTEXT =0x000B; const int FALSE = 0x0000; const int TRUE = 0x0001; SendMessage((IntPtr)this.Handle,WM_SETREDRAW,FALSE,0);
------解决方案--------------------
[DllImport( "USER32.DLL ", CharSet=CharSet.Auto, SetLastError=true)] public static extern bool SendMessage( IntPtr hWnd, // handle to destination window int Msg, // message int wParam, // first message parameter int lParam ); const int WM_GETTEXT =0x000B; const int FALSE = 0x0000; const int TRUE = 0x0001; SendMessage((IntPtr)this.Handle,WM_SETREDRAW,FALSE,0);
------解决方案--------------------
学习 学习
------解决方案--------------------
牛人啊