
mfc
Hdnrnfgf
这个作者很懒,什么都没留下…
展开
-
关于MFC的一些数据之间的转换与提取
参考:http://blog.sina.com.cn/s/blog_50eb38e00100ad5z.html CString到DWORD CString str="127.0.0.1"; char *szServerAddress = str.GetBuffer(0); str.ReleaseBuffer(); DWORD dwRemoteIPValue = inet_ad转载 2014-03-12 10:21:39 · 715 阅读 · 0 评论 -
画笔与画刷&GDI坐标系
原文链接:http://blog.sina.com.cn/s/blog_50eb38e00100amoh.html http://blog.sina.com.cn/s/blog_50eb38e00100amoi.html 在窗口客户区输出要使用画笔、画刷和字体。 1.画笔是用来画线的工具,是CPen类的对象。 其使用方法为: C转载 2014-03-12 10:17:07 · 750 阅读 · 0 评论 -
常用的CPaintDC类成员函数
参考:http://blog.sina.com.cn/s/blog_50eb38e00100amhe.html 1.文字信息显示 BOOL TextOut(int x, int y, LPCTSTRlpszString); 在指定坐标(x,y)处显示字符串lpszString的内容,显示成功返回非0值,否则返回0。 2.画线 画线工作需经转载 2014-03-12 09:59:43 · 1360 阅读 · 0 评论