- 博客(4)
- 资源 (17)
- 收藏
- 关注
原创 窗口截图(二)
窗口截图,可以获取遮挡窗口完整的图像,并保存到bmp文件中去。主要用到的函数中PrintWindow,VC6不支持该函数,请使用VS2008来编译。其它需求如平台要求请参考MSDN文档。void SaveHwndToBmpFile(HWND hWnd, LPCTSTR lps
2011-02-25 09:29:00 15170 13
原创 窗口截图(可指定HWND窗口句柄)
BOOL SaveHwndToBmpFile(HWND hWnd, LPCTSTR lpszPath){ HWND hDesktop = ::GetDesktopWindow(); ASSERT(hDesktop); if(NULL == hWnd) { hWnd = hDesktop; } RECT rect; ::GetWindowRect(hWnd, &rect); int nWidht = rect.right - rect.left; int nH
2011-02-23 16:00:00 12381 22
原创 简单的自绘CListBox(三)(类似CTreeCtrl Expand效果)
<br />一个简单的扩展的CListBox类,点击某一个item的时候,自动展开该项来显示更多信息,类似CTreeCtrl控件的Expand样式风格。<br />// H 文件#pragma once#include <vector>using namespace std;// CMultiLineListBox#define RGB_FOREGROUND RGB(0, 0, 0)#define RGB_BACKGROUND RGB(255, 255, 255)#d
2011-02-14 10:25:00 5591 6
原创 一个简单的UDP广播例子(含C/S)
<br />一个简单的UDP广播通讯的例子程序,含有服务端和客户端的代码。<br />// 服务端// BoardCast_Server.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <WinSock2.h>#include <Windows.h>#pragma comment(lib, "WS2_32.lib")int _tmain(in
2011-02-11 11:13:00 7568 3
Windows Driver Development (Windows驱动开发电子书).rar
2019-07-22
Developing Drivers with the Windows Driver Foundation.pdf
2018-01-22
Developing Drivers with the Microsoft Windows Driver Foundation
2017-03-21
Windows平台下的图形化的Ping工具(2)(基于MFC的Dialog工程)
2010-04-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人