Author: jeffjeff Date: May 17, 2008 02:48
> Hi
>
> I have a winproc defined as follows:
>
> private IntPtr ReadingPaneProc(IntPtr hWnd, int msg, IntPtr wParam,
> IntPtr lParam)
> {
> System.Windows.Forms.Message m =
> System.Windows.Forms.Message.Create(hWnd, msg, wParam,
> lParam);
> switch (m.Msg)
> {
> case WM_SETCURSOR:
> MessageBox.Show("Cursor changed");
> break;
>
> case WM_PAINT:
> //InvalidateRect(hWnd,IntPtr.Zero,true );
> ////BeginPaint(hWnd, out pstruct); ...
|