<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_流云の剑舞秋风</title><subtitle type="text">吾生也有涯 而知也无涯</subtitle><id>http://feed.cnblogs.com/blog/u/11280/rss</id><updated>2005-08-25T09:40:32Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/11280/rss"/><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/06/30/184177.html</id><title type="text">编译时找不到xxx.pch [ZT]</title><summary type="text">3)Unexpected end while looking for precompiled header这时因为该模块没有包括预编译头文件&amp;#8220;stdafx.h&amp;#8221;的缘故。VC用一个stdafx.cpp包含头文件stdafx.h，然后在stdafx.h里包含大部分系统头文件，这样编译时VC就通过编译stdafx.cpp把大部分系统头文件预编译进来了，在Debug目录下有一个很大...</summary><published>2005-06-30T12:06:00Z</published><updated>2005-06-30T12:06:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/06/30/184177.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/06/30/184177.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/06/30/184171.html</id><title type="text">SQL Server 中四种匹配符的含义[ZT]</title><summary type="text">SQL Server 中四种匹配符的含义 % 代表零个或者多个任意字符 _ 代表一个任意字符 [] 指定范围内的任意单个字符 [^] 不在指定范围内的任意单个字符  带有匹配符的字符串必须使用引号引起来，例如下面的示例：  LIKE 'BR%'返回以&amp;#8220;BR&amp;#8221;开始的任意字符串。 LIKE 'Br%'返回以&amp;#8220;Br&amp;#8221;开始的任意字符中。 LIKE '%een...</summary><published>2005-06-30T12:02:00Z</published><updated>2005-06-30T12:02:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/06/30/184171.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/06/30/184171.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/06/26/181409.html</id><title type="text">TAB ORDER按回车键下个控件自动获得焦点</title><summary type="text">TAB ORDER按回车键使下个控件自动获得焦点1.选中主对话框：Layout菜单=&amp;gt;Tab Order(或者直接按Ctrl+D)：按你需要的TAB顺序依次单击控件.2.按Ctrl+W打开MFC ClassWizard=&amp;gt;Message Maps选项卡：给你的主DLG映射PreTranslateMessage消息处理函数：BOOL CYourDlg::PreTranslateMessa...</summary><published>2005-06-26T06:59:00Z</published><updated>2005-06-26T06:59:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/06/26/181409.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/06/26/181409.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/06/24/180620.html</id><title type="text">VC获取系统时间、程序运行时间 </title><summary type="text">VC获取系统时间、程序运行时间 1.使用CTime类CString str;//获取系统时间CTime tm;tm=CTime::GetCurrentTime();str=tm.Format("现在时间是%Y年%m月%d日 %X");MessageBox(str,NULL,MB_OK);2: 得到系统时间日期(使用GetLocalTime)SYSTEMTIME st;CString strDate...</summary><published>2005-06-24T10:26:00Z</published><updated>2005-06-24T10:26:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/06/24/180620.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/06/24/180620.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/06/23/179868.html</id><title type="text">VC常用数据类型使用转换详解 [转]</title><summary type="text">VC常用数据类型使用转换详解读者层次：初学 刚接触VC编程的朋友往往对许多数据类型的转换感到迷惑不解，本文将介绍一些常用数据类型的使用。我们先定义一些常见类型变量借以说明int i = 100;long l = 2001;float f=300.2;double d=12345.119;char username[]="程佩君";char temp[200];char *buf;CString s...</summary><published>2005-06-23T10:54:00Z</published><updated>2005-06-23T10:54:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/06/23/179868.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/06/23/179868.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/06/22/179353.html</id><title type="text">VC遍历文件夹下所有文件和文件夹</title><summary type="text">在VC中怎么遍历一个文件夹下的所有文件和文件夹？find(char * lpPath){ char szFind[MAX_PATH]; WIN32_FIND_DATA FindFileData; strcpy(szFind,lpPath); strcat(szFind,"\\*.*"); HANDLE hFind=::FindFirstFile(szFind,&amp;amp;FindFileData);...</summary><published>2005-06-22T15:05:00Z</published><updated>2005-06-22T15:05:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/06/22/179353.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/06/22/179353.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/05/29/164679.html</id><title type="text">对话框与其控件的颜色</title><summary type="text">要改变对话框的一般颜色，可以在C***App的InitInstance函数里加入如下代码：SetDialogBkColor(RGB(0,255,255),RGB(255,0,0));//背景青蓝、文字红色但是这样不能改变对话框中的图形控件的颜色；每个控件在dialog中都是一个窗口，当要绘制控件时，会发出一个WM_CTLCOLOR消息给它的父窗口（对话框本身）.消息映射及响应函数如下：ON_WM_...</summary><published>2005-05-29T14:58:00Z</published><updated>2005-05-29T14:58:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/05/29/164679.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/05/29/164679.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/05/29/164663.html</id><title type="text">获得指针（文档、视图、框架）</title><summary type="text">CWinApp*AfxGetApp()是一个全局函数，在任何地方都可以获得C***App类对象的指针.//在C***App类中：获得CMainFrame类对象的指针：CMainFrame*pMain=(CMainFrame*)CWinThread::m_pMainWnd;获得C***View类对象的指针：（假设只有一个视图，须通过CMainFrame）C***View*pView=(C***Vie...</summary><published>2005-05-29T14:36:00Z</published><updated>2005-05-29T14:36:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/05/29/164663.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/05/29/164663.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/05/27/163314.html</id><title type="text">让对话框中的菜单变灰(根据可用性而显示)</title><summary type="text">//设定可用性（当你打开下拉菜单时便会激发UPDATE_COMMAND_UI消息，映射如下函数：voidC***Dlg::OnUpdateMenuLogin(CCmdUI*pCmdUI){//TODO:AddyourcommandupdateUIhandlercodeherepCmdUI-&amp;gt;Enable(mMenuActive&amp;amp;0x01);}//手动添加下面函数到你的主DIALOG里...</summary><published>2005-05-27T00:14:00Z</published><updated>2005-05-27T00:14:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/05/27/163314.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/05/27/163314.html"/></entry><entry><id>http://www.cnblogs.com/yjm0105/archive/2005/05/26/162912.html</id><title type="text">获取 本机 SQL SERVER 服务器名</title><summary type="text">CStringstrSQLSrvName;//HKEYhKEY;LPCTSTRdata_Set="SOFTWARE\\Microsoft\\MSSQLServer\\MSSQLServer\\CurrentVersion\\";longret0=(::RegOpenKeyEx(HKEY_LOCAL_MACHINE,data_Set,0,KEY_READ,&amp;amp;hKEY));if(ret0==E...</summary><published>2005-05-26T08:16:00Z</published><updated>2005-05-26T08:16:00Z</updated><author><name>流云</name><uri>http://www.cnblogs.com/yjm0105/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yjm0105/archive/2005/05/26/162912.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yjm0105/archive/2005/05/26/162912.html"/></entry></feed>
