2010年12月20日

.net 下对winapi的调用

摘要: C#例子using System.Runtime.InteropServices;[DllImport("user32.dll")]public static extern int SendMessage(IntPtr hWnd,int Msg,int wParam,int lParam);//此处主要用来让窗口置于最前(SetWindowPos(this.Handle,-1,0,0,0,0,0x4000|0x0001|0x0002);)[System.Runtime.InteropServices.DllImport("user32.dll")]public static extern bo 阅读全文

posted @ 2010-12-20 10:26 bicabo 阅读(481) 评论(0) 推荐(0) 编辑

导航