mfc
flyelf
找工作中
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
IP地址控件小技巧
IP地址控件小技巧 关键字:IP地址控件 一、如何响应EN_CHANGE事件 在控件中提供了IPN_FIELDCHANGED的通知消息,该消息在控件的输入域发生变化的时候发生,一般来说可以满足需求。但是,有的时候,我们希望每当改变一个值的时候就希望知道当前输入的地址,这样能够及时的对输入的情况进行判断,而IPN_FIELDCHANGED消息显然不能提供这种支持。原创 2004-03-02 10:30:00 · 1253 阅读 · 0 评论 -
INF Manufacturer Section
INF Manufacturer Section Manufacturer章节用于识别这样一些厂商,该厂商的一个或者多个设备能够使用该inf文件进行安装。该章节的语法结构为:[Manufacturer]manufacturer-identifier [manufacturer-identifier] [manufacturer-identifier] 下面原创 2004-06-13 16:00:00 · 1845 阅读 · 0 评论 -
CImageList的OverlayImage的应用
引言相信大家在安装自己的电脑的时候,或多或少都用过系统的“设备管理器”吧,当电脑中某些设备的驱动不正常的时候,在设备管理器中该设备的节点图标上会出现一个叹号(或者是出现一个叉号)!那么这个功能是如何实现的呢?原理查阅msdn的CImageList,看到CImageList有这样一个方法:SetOverlayImageCImageList::SetOverlayImageBOOL原创 2004-10-14 11:48:00 · 2309 阅读 · 0 评论 -
自绘按钮控件属性自绘属性的保持
由于标准的按钮控件在样式上比较单调,因此,在很多时候,我们都需要对标准按钮控件实行自画,以满足特定的需求。为了能让按钮控件支持自画,需要设置按钮的BS_OWNERDRAW风格,一般情况下,我们可以在PreSubclassWindow中进行设置:class CxxxButton : public CButton{...};void CxxxButton::PreSubclassWindo原创 2004-12-07 20:38:00 · 1889 阅读 · 0 评论 -
How To Create a Modeless CPropertySheet with Standard Buttons
How To Create a Modeless CPropertySheet with Standard ButtonsThis article was previously published under Q146916This article describes how to implement the standard OK, Cancel, and Apply buttons i原创 2006-02-20 15:09:00 · 1998 阅读 · 0 评论 -
LNK2001: Unresolved External Symbol __chkesp
引起原因:The new compiler stack-checking feture requirs you to link with the C run-time library.解决方案:Either link with one of the C run-time libraries or disable the compiler stck checking feature ( remove原创 2006-02-20 14:31:00 · 1948 阅读 · 0 评论
分享