上一页 1 ··· 19 20 21 22 23

2008年1月11日

第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 阅读(104) 评论(0) 推荐(0) 编辑

2008年1月10日

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 阅读(87) 评论(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 阅读(119) 评论(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 阅读(70) 评论(0) 推荐(0) 编辑

2008年1月3日

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

摘要: 阅读全文

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

2007年12月28日

oo的开始 分类: VC++ 2007-12-28 14:31 176人阅读 评论(0) 收藏

摘要: 转载://OO设计, 多态//例程3 #include usingnamespacestd; classVehicle { public: Vehicle(floatspeed,inttotal) { Vehicle::speed=speed; Vehicle::total=tot... 阅读全文

posted @ 2007-12-28 14:31 Joyfulmath 阅读(135) 评论(0) 推荐(0) 编辑

上一页 1 ··· 19 20 21 22 23

导航