摘要: m_ctlFlash.SetBackgroundColor( RGB(255,0,255) ); //flash控件设置背景色SetWindowLong( GetSafeHwnd() ,  GWL_EXSTYLE,  GetWindowLong( GetSafeHwnd() , GWL_EXSTYLE) | WS_EX_LAYERED );/修改窗体属性HINSTANCE hInst=LoadLi... 阅读全文
posted @ 2010-05-23 22:48 zhouli 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 数字0-9——(48-57),(0x30-0x39)字母a-z——(97-122),(0x61-0x7a)字母A——(65-90),(0x41-0x5a)回车——13,0x0d 阅读全文
posted @ 2010-05-22 14:59 zhouli 阅读(171) 评论(0) 推荐(0) 编辑
摘要: const char*——指向常量的指针  不能修改其指针的内存中的内容,但可以修改其指向的内存地址。  这样将const char* 作为形参来传递参数,就能保证数据的一致性。char* const——指针常量  能修改其指向内存中的内容,但不可以修改其指向的内存地址。 阅读全文
posted @ 2010-05-22 11:48 zhouli 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1. 创建位图  Cbitmap bitmap;  bitmap.loadBitmap(位图资源);2. 创建兼容的DC  CDC dcCompatible;  dcCompatible.CreateCompatible(pdc); //pdc为当前DC3. 将位图选入兼容的DC中  dcCompatible.SelectObject(&bitmap);4. 将兼容DC中的位图贴到当前的D... 阅读全文
posted @ 2010-05-22 10:21 zhouli 阅读(336) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include <iostream.h>#include <string>#include <vector>#include "windows.h"using namespace std;//命令行输出缓冲大小const long MAX_COMMAND_SIZE = 10000;//获取MAC命令行char szFetC... 阅读全文
posted @ 2010-05-12 22:53 zhouli 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 下载:VC6显示行号的插件1. 如果你的VC安装在C盘,请拷贝文件VC6LineNumberAddin.dll到如下目录: C:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddIns 2. 注册 双击VC6LineNumberAddin.reg进行注册。 3. 启用 打开vc6,菜单栏:Tools -> customize -... 阅读全文
posted @ 2010-05-11 15:51 zhouli 阅读(480) 评论(0) 推荐(0) 编辑
摘要: BOOL bRet=PathFileExists(strFileName);Header: shlwapi.hImport library: shlwapi.lib// 检测磁盘剩余空间// cDiskID: 磁盘盘符// FreeDiskSpaceLimit: 剩余空间限制UINT HardDiskOfCapacityCheck(char cDiskID, ULONG FreeDiskS... 阅读全文
posted @ 2010-04-26 22:43 zhouli 阅读(341) 评论(0) 推荐(0) 编辑
摘要: Codeusing System;using System.Collections.Generic;using System.Drawing.Imaging;using System.IO;using System.Text;using iTextSharp.text;using iTextSharp.text.pdf;namespace Pbreak.PDf{classMyPdf{#region... 阅读全文
posted @ 2009-05-05 08:54 zhouli 阅读(1280) 评论(0) 推荐(0) 编辑