自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

God,please give me a little more time ....

路漫漫其修远兮,吾将上下而求索 ...

  • 博客(9)
  • 资源 (17)
  • 收藏
  • 关注

原创 转移当前焦点到另外下一个Tab次序的控件

<br />之前有写个一个关于转移输入焦点的,http://blog.csdn.net/VisualEleven/archive/2010/12/06/6058687.aspx,这里再给出另外一种,之前的那是是直接将焦点转移到指定的控件上(IDCANCEL标示的CButton上),这里给出的是将输入焦点转移到下个Tab次序的控件上。<br /> <br />// 将当前输入焦点转移到下一个Tab顺序的控件上CWnd* pWnd = GetNextDlgTabItem(GetFocus());AS

2010-12-28 11:23:00 2218

原创 屏幕截图(带光标)

<br />// 屏幕截图程序,可运行PC,WinCE,Windows Mobile平台上void SaveScreenToFile(LPCTSTR szFileName){ HDC hScrDC = ::GetDC(NULL); HDC hMemDC = NULL; BYTE *lpBitmapBits = NULL; int nWidth = GetSystemMetrics(SM_CXSCREEN); int nHeight = GetSystemMetr

2010-12-23 10:20:00 7615 14

原创 动态调整CDialogBar的停靠位置

<br />// 在主框架类的CMainFrame的函数中加入最后的代码即可// CDialogBar m_wndMyDialogBar是CMainFrame类的成员变量#define AFX_IDW_DOCKBAR_TOP 0xE81B#define AFX_IDW_DOCKBAR_LEFT 0xE81C#define AFX_IDW_DOCKBAR_RIGHT 0xE81D#define AFX_IDW_DOCKB

2010-12-22 11:39:00 3392 2

原创 Winsock IOCP模型(二)

<br />// IOCP2.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <WinSock2.h>#include <MSWSock.h>#include <Windows.h>#include <process.h>#pragma comment(lib, "WS2_32.lib")#define MAX_BUFFER 256#de

2010-12-21 10:30:00 14439 24

原创 简单的自绘CListBox(二)(多行显示,支持前景色和背景色的变更)

<br />简单的自绘CListBox,支持多行显示和前景色和背景色的更换。下面是相关的H头文件和CPP文件。<br />#if !defined(AFX_MULITLINELISTBOX_H__D705CB99_9FD0_424E_BD71_027547449AE5__INCLUDED_)#define AFX_MULITLINELISTBOX_H__D705CB99_9FD0_424E_BD71_027547449AE5__INCLUDED_#if _MSC_VER > 1000#pra

2010-12-13 08:50:00 10001 10

原创 CPropertySheet属性页对话框中各个按钮的ID值

<br />//向导模式ID_WIZNEXT // NextID_WIZBACK // BackID_WIZFINISH // FinshIDCANCEL // Cancel//普通模式IDOK // OKIDCANCEL // CancelID_APPLY_NOW // ApplyIDHELP // He

2010-12-08 16:42:00 3258 1

原创 简单的自绘CListBox(多行显示)

<br />      之前写过一个自绘的CListBox类,详细请参考http://blog.csdn.net/VisualEleven/archive/2010/10/12/5935430.aspx<br />现在修改这之前的代码,使该CListBox能够支持多行显示的问题。<br /> <br />// 重写DrawItem虚函数void CNewListBox::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) { // TODO: Add your

2010-12-08 10:39:00 5243 4

原创 转移当前焦点到另外一个CButton上

<br />将当前焦点由一个CButton转移到另外一个CButton上,可以使用WM_NEXTDLGCTL消息,可以使用下面代码将焦点移到IDCANCEL标示的Button上 <br />CButton* pButton = (CButton*)GetDlgItem(IDCANCEL);SendMessage/PostMessage(WM_NEXTDLGCTL, (WPARAM)pButton->GetSafeHwnd(), TRUE);

2010-12-06 16:40:00 2049

原创 CEdit中(多行属性),双击选中一行文本

<br />// 重写CEdit类,处理WM_LBUTTONDBLCLK消息void CNewEdit::OnLButtonDblClk(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default CEdit::OnLButtonDblClk(nFlags, point); int start = LineIndex(HIWORD

2010-12-02 10:41:00 3678

Windows Driver Development (Windows驱动开发电子书).rar

Windows驱动开发资料(均为英文版资料) 1)Windows NT File System Internals 2)Developing Drivers with the Windows Driver Foundation 3)Programming the Microsoft Windows Driver Model(2nd) 4)Windows Internals 6th (Part 1/Part 2) 5)Windows.Internals 7th (Part 1)

2019-07-22

cppcheck tool

cppcheck tool for C/C++ project cppcheck tool for C/C++ project

2018-01-22

Developing Drivers with the Windows Driver Foundation.pdf

Windows Driver Developement, WDF Development, WDM WDF Development

2018-01-22

Windows驱动开发技术详解

Windows驱动开发技术详解

2017-03-21

Windows设备驱动程序WDF开发

Windows设备驱动程序WDF开发

2017-03-21

Developing Drivers with the Microsoft Windows Driver Foundation

Brought to you from the team who developed Windows Driver Foundation, this comprehensive guide gives you the in-depth, expert guidance you need to start developing robust drivers for Windows.

2017-03-21

Windows平台下的Ping工具(3)

Windows平台下的Ping工具(3)修正之前的的Bug

2010-05-25

Windows平台下的图形化的Ping工具(2)(基于MFC的Dialog工程)

Windows平台下的图形化的Ping工具(基于MFC的Dialog工程),之前的版本存在一个小错误,即计算平均耗时时间错误。

2010-04-20

Windows平台下的图形化的Ping工具(基于MFC的Dialog工程)

Windows平台下的图形化的Ping工具(基于MFC的Dialog工程)

2010-04-20

VC图形图像技术篇.chm

VC图形图像技术篇.chm VC图形图像技术篇.chm

2008-09-09

OpenGL基础图形编程.chm

OpenGL基础图形编程.chm OpenGL基础图形编程.chm

2008-09-09

MFC类库详解.chm

MFC类库详解.chm MFC类库详解.chm

2008-09-09

ESAN2

TCP下的端口扫描器,开源代码

2008-04-23

ESAN1

tcp下端口扫描器,开源代码

2008-04-23

ESCAN扫描器

TCP下的端口扫描器,开源代码

2008-04-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除