Visual C++ Internet programming support includes Microsoft Foundation Class (MFC) classes for writing ActiveX controls, code components, and Active documents; MFC classes for retrieving files and information using Internet protocols such as FTP and HTTP; and MFC classes for extending Web servers with custom programming. You can use your knowledge of Visual C++ to create high-performance server-side components that perform complex business processing as part of your Web applications.
New with this release are features that make it possible for you to host Dynamic HTML within your MFC applications, ATL support for Dynamic HTML, and MFC wrappers for the Internet Explorer Common Controls.
This section provides an overview of the following Visual C++ features for developing Web applications.
For More Information See Internet Topics, online in MSDN Library Visual Studio 6.0.
The CHtmlView class makes it possible for you to host Dynamic HTML within your MFC applications. With CHtmlView, your application's view can display HTML pages that contain Dynamic HTML just as a Web browser would display them. CHtmlView provides many browser features, including:
For More Information See the following topics online in MSDN Library Visual Studio 6.0.
You can create an ATL project that displays a control with Dynamic HTML capability in a Web browser or other container. An ATL HTML control hosts the WebBrowser control and makes it possible for you to specify the user interface of the control using HTML. The control sets up a mechanism to communicate between C++ code and HTML.
A DHTML control is similar to any other ATL control, except that the control includes an additional dispatch interface for communicating from the HTML user interface and an HTML resource file. You can communicate with the HTML user interface using the DHTML object model. To communicate from HTML to your C++ code, use the window.external mechanism provided by DHTML.
For More Information See the following topics online in MSDN Library Visual Studio 6.0.
MFC provides support for the latest Internet Explorer common controls in classes such as CComboBoxEx, CDateTimeCtrl, CIPAddressCtrl, and CMonthCalCtrl. You can access these controls from the Controls toolbar in the Dialog Editor. The following table provides more information about each of these classes.
Class | Control | Description |
CComboBoxEx | Extended combo box | Extends the combo box control by providing support for image lists. |
CDateTimeCtrl | Date and time picker | Supports either an extended edit control or a simple calendar interface control, both of which make it possible for a user to choose a specific date or time value. |
CIPAddressCtrl | Similar to an edit control | Supports an edit box for manipulating an Internet Protocol (IP) address. |
CMonthCalCtrl | Month calendar | Supports a simple calendar interface control that allows a user to select a date. |
For More Information See the following topics online in MSDN Library Visual Studio 6.0.