当前位置:编程学习 > C#/ASP.NET >>

C# window7 64位下 把窗口始终放在最前面怎么做?

用了 DllImport user32.dll
break 说找不到user32.dll

是导入哪个dll呢? --------------------编程问答-------------------- 如果你是wpf写的窗体,使用topmost设置为true就可以了 --------------------编程问答-------------------- 窗体的TopMost设为True! --------------------编程问答--------------------
  [DllImport("User32.dll", EntryPoint = "SetWindowPos", SetLastError = true)]
        public static extern int SetWindowPos(IntPtr hWnd, IntPtr hWndWinInsertAfter, int x, int y, int cx, int cy, int nFlags);
--------------------编程问答-------------------- [img=http://my.csdn.net/my/album/detail/1556003][/img] --------------------编程问答--------------------
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,