摘要:
http://files.cnblogs.com/wangjixianyun/TaskWindow.zip 阅读全文
摘要:
转自: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 阅读全文
摘要:
// 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, ... 阅读全文