构造方法 https://msdn.microsoft.com/library/7ffyb1kb%28v=vs.110%29.aspx 两个构造技术的示例 下面简要的示例演示构造钢笔对象两个方法: C++ 复制 // One-stage CPen myPen1(PS_DOT, 5, RGB(0,0,0)); // Two-stage: first construct the pen CPen myPen2; // Then initialize it if(myPen2.CreatePen(PS_DOT, 5, RGB(0,0,0))) { // Use the pen } posted on 2016-11-09 09:30 liuxiaozhao 阅读( ...) 评论( ...) 编辑 收藏 转载于:https://www.cnblogs.com/wflxz/p/6045701.html