01 2008 档案

程序员的6种阶段 分类: VC++ 2008-01-30 09:51 424人阅读 评论(1) 收藏
摘要:程序员的6种阶段 2006-10-27 05:55:40 来自: 壁虎 (北京) Ø 第一阶段 此阶段主要是能熟练地使用某种语言。这就相当于练武中的套路和架式这些表面的东西。 Ø 第二阶段 ... 阅读全文

posted @ 2008-01-30 09:51 Joyfulmath 阅读(162) 评论(0) 推荐(0)

VC 常见问题百问 2008-01-29 13:37 271人阅读 评论(0) 收藏
摘要:VC 常见问题百问 (1) 如何通过代码获得应用程序主窗口的 指针?主窗口的 指针保存在CWinThread::m_pMainWnd中,调用AfxGetMainWnd实现。AfxGetMainWnd() ->ShowWindow(SW_SHOWMAXMIZED)//使程序最大化.(2) 确定应用程序... 阅读全文

posted @ 2008-01-29 13:37 Joyfulmath 阅读(198) 评论(0) 推荐(0)

第七章 Dialog 分类: VC++ 2008-01-29 10:18 187人阅读 评论(0) 收藏
摘要:いち://08.01.28◙ 改变颜色问题. 1.响应OnCtlColor消息. 2.选择控件类型: 消息ID CTLCOLOR_BTN 按钮控件产生的消息 CTLCOLOR_DLG 对话框产生的消息 CTLCOLOR_EDIT ... 阅读全文

posted @ 2008-01-29 10:18 Joyfulmath 阅读(105) 评论(0) 推荐(0)

第六章 GDI 2008-01-29 10:16 205人阅读 评论(0) 收藏
摘要:いち:◙ SetMapMode(MM_ANISOTROPIC); pDC->SetMapMode(MM_ANISOTROPIC);//映射的模式. pDC->SetWindowExt(1440,1440);// 设置每1440个点为一个Window-Logical-Unit pDC->SetView... 阅读全文

posted @ 2008-01-29 10:16 Joyfulmath 阅读(124) 评论(0) 推荐(0)

李开复给程序员的七个建议(转摘) 2008-01-23 09:15 653人阅读 评论(0) 收藏
摘要:导读: 1.练内功。不要只花功夫学习各种流行的编程语言和工具,以及某些公司招聘广告上要求的科目。要把数据结构、算法、数据库、操 作系统原理、计算机体系结构、计算机网络、离散数学等基础课程学好。大家不妨试试高德纳斯所著的The Art if Computer Programming里的题目,如果你... 阅读全文

posted @ 2008-01-23 09:15 Joyfulmath 阅读(138) 评论(0) 推荐(0)

第5 章: Windows Message Mapping 2008-01-11 09:04 207人阅读 评论(0) 收藏
摘要:第5 章: Windows Message Mappingいち.消息流程◙ WM_CREATE first message to a view . use ONCreate 无法截获. 在 OnInitalUpdate可以使用, but this function maybe use more t... 阅读全文

posted @ 2008-01-11 09:04 Joyfulmath 阅读(114) 评论(0) 推荐(0)

Cstring 截获数据 2008-01-10 11:22 234人阅读 评论(0) 收藏
摘要:CString s=_T("125 12 30 " ); CString str[10]; DWORD nub = 0; DWORD nFind = 0; while(s.GetLength()) { nFind = s.Find(_T(" ")); str[nub] = s.Left(n... 阅读全文

posted @ 2008-01-10 11:22 Joyfulmath 阅读(97) 评论(0) 推荐(0)

CString DOWRD互转 2008-01-10 08:26 378人阅读 评论(0) 收藏
摘要:CString怎样转换成DOWRD#include "stdafx.h" #include #include int _tmain(int argc, _TCHAR* argv[]) { TCHAR szNum[]=_T("123456");//原字符 D... 阅读全文

posted @ 2008-01-10 08:26 Joyfulmath 阅读(134) 评论(0) 推荐(0)

截取字符串 2008-01-10 08:18 188人阅读 评论(0) 收藏
摘要:#include #include char *p = "//windows//win_dll.txt"; char ch = '//'; char *plast, *pfirst; plast = strrchr( p, ch )... 阅读全文

posted @ 2008-01-10 08:18 Joyfulmath 阅读(79) 评论(0) 推荐(0)

CString string 的比较, 便于以后查用 2008-01-03 09:31 264人阅读 评论(1) 收藏
摘要: 阅读全文

posted @ 2008-01-03 09:31 Joyfulmath 阅读(95) 评论(0) 推荐(0)

导航