查看 任务栏 上程序的名称???

bryht 2010-01-29 01:22:28
如题~
...全文
39 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
freewind0521 2010-02-01
  • 打赏
  • 举报
回复
up
wuyq11 2010-01-29
  • 打赏
  • 举报
回复
枚举任务栏窗口
private const int SW_HIDE = 0x00;
private const int SW_SHOW = 0x0001;
[DllImport("coredll.dll", CharSet=CharSet.Auto)]
private static extern IntPtr FindWindow(string lpClassName, string lpWindowName);

[DllImport("coredll.dll", CharSet=CharSet.Auto)]
private static extern bool ShowWindow(IntPtr hwnd, int nCmdShow);

[DllImport("coredll.dll", CharSet=CharSet.Auto)]
private static extern bool EnableWindow(IntPtr hwnd, bool enabled);
http://topic.csdn.net/u/20090906/00/1f627abb-9a08-4b11-acbb-e378885f1a4b.html

111,120

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧