Welcome![Sign In][Sign Up]
Location:
Search - VC 类成员

Search list

[Program docVC++类成员讲解

Description: 介绍VC++类成员的作用
Platform: | Size: 399872 | Author: iceswan | Hits:

[Mathimatics-Numerical algorithmscalculator_vckbase

Description: 该类有以下特点: 1.支持字符串中含有各种常用函数,如"7.5+sin(6*ln(8))/exp(5)" 2.具有很好的纠错能力,能检查出表达式中括号是否配对、库函数是否正确 3.运算过程中能检查并判断出各种异常,如除数为0、开方函数sqrt(x)中x<0,反余弦函数acos(x)中的x<-1或x>1等 4.支持积分、求方程,算术表达式中可含有x,计算时将用类中的成员变量xx代替--1.support strings having common math functions,like "7.5+sin(6*ln(8))/exp(5)"; 2.Good error detection and recovery; and etc.
Platform: | Size: 23552 | Author: 杨广铭 | Hits:

[Internet-NetworkCUdpSocket

Description: CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实际处理UDP 数据报的功能紧耦合,这需要通过继承实现,同时设置workmode 为auto_receive(参见SetWorkdMode),另外一种是直接作为单独对象出现,此时用户需要使用Recv成员函数自己处理数据的接收。-CUdpSocket is to simplify this, the analytical data reported by the UDP with a base class. This type of packaging based SOCK_DGRAM the most basic operation. This provides two types of work, is a practical and UDP data processing function of tight coupling, it needs to achieve through inheritance, as set workmode auto_receive (see SetWorkdMode), the other is directly emerging as a separate object, users need to use this member function since Recv others receiving data processing.
Platform: | Size: 129024 | Author: 刘林超 | Hits:

[GUI DevelopVCjiemian

Description: ①、重载对话框的消息函数: void OnNcLButtonDown(UINT nHitTest, CPoint point) //单击标题栏时是响应 void OnNcMouseMove(UINT nHitTest, CPoint point) //Mous 在标题移动时响应 LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam)   ②、添加关键成员函数为:BOOL DrawTitleBar(CDC *pDC)   ③、添加完消息涵数后,在.cpp中实现它们的代码(点击查看代码附件):   好了运行你的序程,即可出现漂亮的界面。说明在设计对话框时最好只选上Title Bars,其它不要.消息函数要手动添加。只本程序是在VC++6.0 +WinXP环境下完成的。   经过实践证明,仅仅画一个窗口很容易,多窗口程序软件实现统一风格很难。如若有机会的话,我会和大家继续探讨如何将设计好的漂亮窗口子类化,让程序所有的窗口有统一风格,美化窗口的其它控件并可自动随窗口改变而调整大小。我想那才是我们大家关心的。对不? -err
Platform: | Size: 1259520 | Author: sailor | Hits:

[VC/MFCvc6mdn

Description: 本书内容分上、下两册出版。本套书是关于Microsoft Visual C++ 6.0基础类库(MFC)完整的参考手册。全面性和权威性是本书最大的特点。MFC库按照应用的功能划分为根类,MFC应用结构类,窗口、对话和控件类,绘画和打印类,简单的数据类型类,数组、列表和映射类,文件和数据库类,Internet和网络类,OLE类,调试和异常类等类。而其中的每一分类都是应用编程或其中某个方面的重要课题。本书按字母次序排列了MFC全部的类,并详细介绍了每一个类的成员,包括成员函数和数据成员,以及类之间的关系,如派生等。对于典型的用法,本书在用常规方法解释之余,还附加了精炼的代码示例,可供读者揣摩、研究。类库参考1-book covers, published in two volumes. Bentaoshu on Microsoft Visual C 6.0 basis Class (MFC) comprehensive reference hands register. Comprehensive and authoritative book is the greatest characteristics. MFC according to the application of functional roots category, MFC Application category structure, windows, dialogue and control classes, painting and print category, simple data type category, arrays, class lists and maps, documents and database category, Internet and network categories, OLE category, debugging and unusually for such category. And the classification is applied for each program or some aspect of an important topic. The book arranged in alphabetical order of all of the MFC category, and detailed descriptions of each category of members. including members of functions and dat
Platform: | Size: 1811456 | Author: why | Hits:

[Other resourceteach_road_4

Description: VC基础教程 第四章 窗口控件 版权所有 闻怡洋从VC提供的MFC类派生图中我们可以看出窗口的派生关系,派生图,所有的窗口类都是由CWnd派生。所有CWnd的成员函数在其派生类中都可以使用。本节介绍一些常用的功能给大家。 -based VC IV Directory window controls only Wen Yue-yang from the VC MFC category derived map, we window can be seen a derivative, derivative map, all window types are derived from CWnd. CWnd all of its members function in the derived class can be used. This section presents some of the functions commonly used to everyone.
Platform: | Size: 108544 | Author: | Hits:

[source in ebooklesson7

Description: 孙鑫老师VC视频第七课代码:对话框用户界面程序的编写,如何向对话框控件关联数据成员及其实现机理,如何利用对话框类的成员函数向控件发送消息和获取对话框控件的类指针,如何直接利用对话框控件类操纵对话框控件(发送消息和直接调用成员函数)。如何在程序运行时产生和销毁控件。对话框控件的几种操作方式的优劣比较分析。如何实现对话框的部分收缩和展开。如何让对话框上的文本框在程序启动后立即获得焦点,如何利用SetWindowLong改变窗口的回调函数,通过改变文本框的默认回车处理方式进行演示。实现多个输入文本框间通过回车逐一向下传递焦点的另一种巧妙方法(用缺省按钮来处理)。
Platform: | Size: 40960 | Author: shanyingying | Hits:

[VC/MFCC++PPT

Description: C++经典语法与应用,类的编写与应用,构造与析构函数,函数的重载,类的继承,函数覆盖,基类与派生类的构造函数、析构函数先后调用顺序,如何在派生类构造函数中向基类的构造函数传递参数,this成员变量,类型转换的内幕,虚拟函数与多态性,引用和指针的变量的区别与共同处。VC工程的编译原理与过程,将工程中不同的类拆分到不同的原文件中,每一个类由一个.h和.cpp文件共同完成,头文件重复定义问题的解决,培养了学员良好的编程习惯,也为以后分析MFC Appwizard生成的工程奠定了良好基础。
Platform: | Size: 198656 | Author: 曾代欧 | Hits:

[Button controlCPushPinButtonv1.21

Description: CPushPinButton类继承于CButton类,功能是完成一个图钉按钮的效果。就像VC++中一个控件的属性对话框中的那个图钉按钮。 类的使用步骤: 1.在工程中加入PushPin.cpp和PushPin.h两个文件,并且在需要用到这个类的文件中加入#include "PushPin.h"语句。 2.确保工程中加入了图片IDB_PUSHPIN或者IDB_PUSHPIN_HELP 3.在对话框中加入一个按钮,设置owner-draw属性,大小不限。 4.使用Classwizard定义一个按钮的成员变量,然后用CPushPinButton代替CButton声明 5.为确保在按钮状态发生变化时,类能正常运行,还应该用ReloadBitmaps方法响应WM_SETTINGCHANGE或者WM_WININICHANGE消息。-Class CPushPinButton inherited from CButton class, function is to complete a pushpin button effect. Like VC++ A control Properties dialog box that pushpin button. Type of use these steps: 1. PushPin.cpp in engineering and PushPin.h adding the two documents, and need to resort to this type of file by adding# Include PushPin.h statement. 2. Ensure that the works to add a picture IDB_PUSHPIN or IDB_PUSHPIN_HELP 3. In the dialog box to add a button, set the owner-draw attributes, size limitation. 4. Use ClassWizard to define a member variable of the button, and then replace CButton with CPushPinButton statement 5. In order to ensure that the button state change, the type can be normal operation, it should also be used to respond to ReloadBitmaps method WM_SETTINGCHANGE or WM_WININICHANGE news.
Platform: | Size: 19456 | Author: wyb | Hits:

[VC/MFCc++7

Description: vc++章节,继承与派生 类成员的访问控制 单继承与多继承 派生类的构造、析构函数 类成员的标识与访问-vc++ chapter, inheritance derived class members with access control, single inheritance and multiple inheritance derived class constructor, destructor class member identity and access
Platform: | Size: 53248 | Author: wyq | Hits:

[Windows DevelopCode

Description: C++经典语法与应用,类的编写与应用,构造与析构函数,函数的重载,类的继承,函数覆盖,基类与派生类的构造函数、析构函数先后调用顺序,如何在派生类构造函数中向基类的构造函数传递参数,this成员变量,类型转换的内幕,虚拟函数与多态性,引用和指针变量的区别与共同处。VC工程的编译原理与过程,将工程中不同的类拆分到不同的文件中,每一个类由一个.h和.cpp文件共同完成,头文件重复定义问题的解决,培养了学员良好的编程习惯,也为以后分析MFC AppWizard生成的工程奠定了良好基础。-description of C
Platform: | Size: 18432 | Author: frank | Hits:

[Special EffectsReadBMP

Description: 用VC++实现对BMP位图的读取。使用CBitmap类中的LoadBitmap()函数成员。-Using VC++ implementation of the BMP bitmap reading. Use CBitmap class LoadBitmap () function member.
Platform: | Size: 317440 | Author: 清风斜阳 | Hits:

[ADO-ODBCDbToClass

Description: 把数据库中表的名称及字段的名称转成VC++类名及操作成员名-The name of the database table and field names converted to VC++ class name and member name operation
Platform: | Size: 67584 | Author: gaohuinew | Hits:

[Windows DevelopVC-internat

Description: 本文主要讲解以下内容   (1)CAsyncSocket类编程模式。   (2)CSocket类编程模式。   (3)CSocketFile类和CArchive类简介。   通过学习,可以掌握CAsyncSocket类和CSocket类的编程模式,了解CSocketFile类和 CArchive类。CAsyncSocket类逐个封装了Winsock函数,以前介绍过的Winsock函数在CAsyncSocket类 的成员函数中都可以找到它们对应的函数。一个CAsyncSocket对象就代表着一个Windows Socket, 使用这个类进行网络编程,就要求程序员对网络通信和Socket编程模式有相当的了解,因为程序员 要自己编写程序处理阻塞、字节顺序以及Unicode与MBCS之间的转换等问题。 -This text mainly explains in detail a following contents (1)CAsyncSocket weave distance mode. (2)CSocket weave distance mode. (3)CSocketFile and CArchive brief introduction. Pass study, can control CAsyncSocket and CSocket plait distance mode, understand CSocketFile and CArchive.CAsyncSocket pursued a postting Winsock function, the introduction led before of the Winsock function is in CAsyncSocket Of member function amid can find out it
Platform: | Size: 24576 | Author: AAA | Hits:

[VC/MFCVC.Digital.Image

Description: 深入解析MFC,这是一本填补“使用向导”类的VisualC++书籍、产品文档以及MFC源代码之间空隙的MFC书籍。本书是了解MFC内幕的向导,提供了关于那些没有文档记录的MFC类、实用函数和数据成员的独一无二并且透彻的信息,介绍了有用的编码技巧,并对MFC各个类之间的协作方式进行了重要的分析。-Insight MFC, this is a fill the " wizard" type of VisualC++ books, product documentation and MFC source code for the gap between the MFC books. This book is the insider' s guide to understand MFC provides those who are not documented on the MFC classes, utility functions and data members of a unique and thorough information, useful coding techniques are introduced, and each class collaboration between the MFC way an important analysis.
Platform: | Size: 13249536 | Author: 黄雅威 | Hits:

[VC/MFCcPP

Description: 采用VC++6.0,按照实验内容和实验要求编写程序,在开发环境中对程序进行编辑、编译和调试,最终得到可以运行的程序,且能输出符合题目要求的结果。 定义派生类时必须指定继承方式,它决定了基类成员在派生类中的访问属性。在设计一个系统时,首先考虑类以及它们之间的继承和组合等关系,良好的层次设计是实现软件系统的关键。 -By VC++6.0, program development environment for editing, compiling and debugging the program, and eventually can run the program, and can output to meet the subject requirements results in accordance with the experimental content and experimental requirements. The definition of a derived class must specify the inheritance, which determines the access attributes of the members of the base class in a derived class. When designing a system, first consider the class as well as the relationship between inheritance and combination, good level design is the key to the software system.
Platform: | Size: 3072 | Author: 王胜 | Hits:

[Windows Developstatic_vecotr

Description: VC++类的静态数据成员的学习例子,通俗易懂,很好掌握!-Class static data members VC++ example of learning, easy to understand, easy to grasp!
Platform: | Size: 2048 | Author: bluebird | Hits:

[Windows Develop记录类的信息

Description: 可以设计一个轿车类,它具有颜色、牌照、品牌等属性。打开文件,使用文件输出流,将成员变量的值输入到文件中,记录若干个汽车的属性。(You can design a car class, it has color, license plate, brand and other attributes. Open the file, use the file output stream, enter the value of the member variable into the file, and record the attributes of several cars.)
Platform: | Size: 2513920 | Author: 狼太 | Hits:

[Windows DevelopMultiInheritance

Description: int main() { cout<<"类的多重继承演示"<<endl; CDateTimeType dt(1,1,2008,11,12,12); //直接使用DateTimeType构造函数设置日期时间 cout<<"调用CDateTimeType类构造函数设定的初始日期、时间为:"<<endl; dt.display();//显示时间日期 dt.SetDate(8,8,2008); //调用基类的成员函数修改日期 dt.SetTime(20,8,8); //调用基类的成员函数修改时间 cout<<"调用基类成员函数修改后的日期、时间为:"<<endl; dt.display(); String s=""; scanf("%s",s); return 0; }(#include<iostream> using namespace std;)
Platform: | Size: 1769472 | Author: 嗯嗯嗯嗯哦 | Hits:

[VC/MFCVC++之MFC类库中文手册.rar

Description: VC++之MFC类库中文手册.chm 该MFC参考含盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容。 参考中“类层次结构图”是为了方便查找某个类的基类。 该MFC参考通常不描述通过继承的函数或操作符。若要寻求这些函数的信息,请参阅类层次结构图中该类的基类信息。 每个类的说明文档包括:该类的概括、类成员的种类、以及该成员函数、重载操作符或数据成员的基本用途。 仅撰写应用程序或派生类在一般情况下对于公共和保护类成员的使用说明。 寻求完整的类成员的列表,请参阅该类的头文件。 本书目录 · 层次结构图 直观的描述MFC中各类的关系。 · MFC类 详细解说MFC库中的每个类和头文件信息。 · MFC宏和全局 详细解说MFC库中的每个宏、全局函数、全局变量。 · 结构、风格、回调函数和消息映射 详细解说MFC库中的各个结构、风格、回调函数和消息映射。
Platform: | Size: 1484622 | Author: 619568972@qq.com | Hits:
« 12 3 4 5 »

CodeBus www.codebus.net