摘要: http://files.cnblogs.com/wangjixianyun/TaskWindow.zip 阅读全文
posted @ 2013-08-05 02:03 fff8965 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/atskyline/archive/2012/09/20/2694878.html第一步 引入到Winows API偷懒直接写在类里 1: [DllImport("user32.dll")] 2: public static extern bool RegisterHotKey(IntPtr hWnd, int id, uint fsModifiers, uint vk); 3: [DllImport("user32.dll")] 4: public static extern bool Unregis 阅读全文
posted @ 2013-08-05 01:33 fff8965 阅读(993) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include BOOL CALLBACK EnumTaskbarWnds( HWND hwnd, LPARAM lParam ){ WCHAR szClass[256]; if( !GetWindow( hwnd, GW_OWNER ) && IsWindowVisible( hwnd ) ) // 滤掉不在任务栏显示的窗口 { GetClassName( hwnd, szClass, ... 阅读全文
posted @ 2013-08-05 00:12 fff8965 阅读(2729) 评论(0) 推荐(0) 编辑