常用C#调用 Win32 API 收录

2.

SendMessage(lvPrintData.Handle, WM_VSCROLL, 1, 0);
[DllImport("user32.dll", EntryPoint = "SendMessage")]
static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);
const int WM_VSCROLL = 0x0115;

posted on 2013-05-25 13:37  上校  阅读(321)  评论(0)    收藏  举报