http://bbs.csdn.net/topics/391817496I did not think more than 10 years later there are people struggling to learn MFC, I take some time to give new people a summary.The 1th point of view after learning MFC, you will understand the idea of programming, and then learn other languages faster.Said small white to go to the United States to learn technology, Big Black advised him: "Why don't you first to North Ko
All objects in MFC are rooted in CObject and CObject derive some classes: CCmdTarget, CWnd, CDocument. The specific hierarchical relationships are as follows:Figure (1) The hierarchical relationship of MFCThis case is based on the MFC program code, using the WIN32 Console application program (ie console application) to emulate MFC's internal behavior, of course, omitting the message map and message loop.Cre
Original address: http://www.vckbase.com/document/viewdoc/?id=1486customization and extension of the browserLi HanpengDownload source codeThis article is divided into the following chapters:
Objective
Using the browser in MFC
How to expand or customize your browser
Customizing the right mouse button popup menu
Implementing script extensions (very important external interfaces)
How to invoke a function in a Web page script
This article transferred from: http://www.cnblogs.com/zhoug2020/archive/2012/04/01/2429064.htmlthe summary article details how to automate applications such as Microsoft Office that support COM. More information The following section describes how to create an MFC project. Using Microsoft Excel For example, you can use the first 8 steps for any project, modify 9-15 steps are used for different applications. Create an Automation project1. In Microsoft
One, error C1189: #error: WINDOWS. H already included. MFC apps must not #include
This error is often reported when we introduce MFC into the Win32 application that we built in vs2013. This is because WINDOWS.H has been introduced into MFC's class library files,
In VS, each. App file introduces the stdafx.h header file by default, and the following code is the entire contents of stdafx.h, which is also in
1 new MFC ActiveX control project. Control Settings section, the created control is based on the item selection static, the "active when visible" item is checked, the "No Flicker Activation" item is selected, and the remaining items are actually checked as needed.
2) By default, the wizard creates a project that uses a shared MFC DLL, and you must ensure that the target machine has an
You should also switch resources when exporting functions in an MFC extension DLL.
In a shared (dynamically linked) MFC rule DLL, before each of the exported functions need to switch resources, in the extension DLL also need, because they are dynamically linked to the MFC library, in the call to export functions, to load the corresponding resources,
Part IV: Message mapping
Any user interface object that an application puts in a window has two controllable features: 1 its appearance, and 2 it responds to the behavior of the event. In the last lecture, you've learned about CStatic control and how to use style attributes to customize the appearance of user interface objects. These concepts can be used for all the different control classes in MFC.
In this lecture, we will introduce CButton control
MFC Feature Pack Newly added classes for Visual Studio sp1/2010
MFC Library ReferenceClasses (MFC Feature Pack)The following MFC classes is included in the MFC Feature Pack. in this section//////Http://msdn.microsoft.com/en-us/library/bb983299.aspx//Class////Af
Use of MFC and STL
Zhao Xiangning
Problem:
I have read STL in several different places, but I still don't know whether STL or MFC is used in my application? My program also processes string, vectors, and so on. What is the difference between STL and MFC?Answer:Which one should I use ?" The answers to these questions are almo
(Dynamic Connection Library) for Carrier encapsulation, there are three forms of mfc dll available in vc6, namely regular statically linked to mfc dll (Standard static link mfc dll), regular using the shared mfc dll (Standard Dynamic Link mfc dll) and extension
Recently, I am working on the MFC OpenGL industry. I have found some materials and sorted out the connection for future use.
A collection of OpenGL app with MFCHttp://www.mfcogl.com/
Generating random fractal terrain:Http://www.gameprogrammer.com/fractal.html
Starting OpenGL in a dialog:Http://codeguru.earthweb.com/opengl/texture_mapping.shtml
Starting rendering modes, a MDI splitter window example.Http://www.codeguru.com/opengl/
The supported formats for Playing videos on your mid platform are limited. You need to expand more formats according to application requirements. 6410 self-contained MFC (multi format codec), supports hard decoding of MPEG4, h263, h264. Through LS-L/Dev, we can know that the driver module of the s3c-mfc has been loaded. In Android, the encoding and decoding part of the
Create personalized dialog box of MFC Article http://tech.163.com/10:50:36 Source: csdn user comments 0 Forum
If you want to make your software stand out, you need to add a "color" to the software. A color-matching window is more eye-catching than a windows-like dark box. Imagine if all the web pages displayed in the html browser are white and black characters, will there be so many MMS who prefer to access the Internet? The popularity of the Inter
Ii. concept model of MFC
We have studied the "Domain Model" of WIN32 API and have a comprehensive understanding of it. Next, we will focus on the research of the MFC conceptual model on the app framework.The message response/transfer mechanism in the app framework is the most important. The Hook mechanism is closely related to the Message response/transmission mechanism, which is based on the former.
1. Ho
I posted the Q A process via email, hoping to help other friends who encountered similar problems:
When I encountered such a problem at work, I used vs2008 to write an executableProgramThis MFC program is embedded with the WPF view. I use the OCX developed by vs2010 to hold this WPF view. My problem is that if I use vs2008 to debug the MFC program, how can I enable the environment debugging of vs2010 w
MFC, ATL, and CLR are the three built-in libraries of vc2005, covering various development methods and applications of windows. Of course, there are more than three libraries for C ++ development, but these three are recommended by Microsoft. From the programming level, Win32 is the lowest layer, followed by MFC. Then the CLR. Win32 winapi MFC class library CLR.
An analysis of MFC program execution process1) We know that in the WIN32API program, the entry of the program is the WinMain function, in which we complete the Registration window class, create the window, enter the message loop, and finally, the operating system according to the message sent to the program window of the program window function. In the MFC program, we are not able to find a program entry li
In a Windows program, the WinMain function acts as the entry function for the program, and a window program is: the design window (which sets the appropriate properties for the window)--Registers the window--and creates the window--and updates the window--the message loop;
But when you create an MFC program, you don't see anything like the WinMain function, and the previous program framework is very different from
Although C + + Builder 3.0 is the next version of Borland C + + 5.02, it supports MFC as well, but it's not easy to use MFC under C + + Builder 3.0. Not directly to write an MFC native
Code and then tick the MFC compatibility in Project Option If you only do this, make sure you get a bunch of warnning and error at com
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.