MFC中的消息映射结构 [英] message map structure in MFC

查看:66
本文介绍了MFC中的消息映射结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要MFC中的消息映射结构,以及第一条消息的来源以及如何将其转发到实际类.
请为我提供有关此文档.我还想知道MDI的执行流程,即如何创建框架以及如何创建和附加视图.

我也想了解mfc中的文档视图架构.

I want the message map structure in MFC and also where the first message is comming from and how it is forwarded to actual class.
Please provide me the documentation for this. I also want to know the execution flow of MDI i.e. how the frame is created and how the view is created & attached.

I also want to know about the document view architecture in mfc.

推荐答案

//请提供有关此文档的文档

您可以在此处开始 [
// Please provide me the documentation for this

You could start here[^] :)


>< small> 我想要MFC中的消息映射结构,以及第一条消息的来源以及如何将其转发到实际类.请为此提供文档.

这些东西在合理范围内没有被记录",因为它们是框架的内部.我认为应该在"MFC Internals"一书中阅读该框架的大部分工作细节,您可能需要阅读一下.

>> 我也想知道MDI的执行流程,即如何创建框架以及如何创建视图&附件.

由于MFC随附了源代码,因此您始终可以单步执行代码以查看发生了什么.

>> 我也想了解mfc中的文档视图架构.

我会推荐杰夫·普罗塞斯(Jeff Prosise)的《用MFC编程Windows》这本书.
>>I want the message map structure in MFC and also where the first message is comming from and how it is forwarded to actual class. Please provide me the documentation for this.

These things are not ''documented'' beyond a reasonable extent, as they''re the internals of the framework. I reckon reading most of the details of the workings of the framework in the book "MFC Internals", which you may want to give a read.

>> I also want to know the execution flow of MDI i.e. how the frame is created and how the view is created & attached.

Since MFC comes with source code, you could always single-step the code to see what''s happening.

>>I also want to know about the document view architecture in mfc.

I''d recommend the book "Programming Windows with MFC" by Jeff Prosise.


Rajesh说的是正确的.这些没有记录在案,因此您不会在网上寻找到太多的运气. (我可能是错的,但是刚开始时我什么都没找到.)

但是,某些有关MFC的书籍(例如Mike Blaczszak的Professional MFC)(不一定是内部"系列)确实在介绍该框架的开始章节中提供了一些有关实现的理解.连同逐步执行代码将有助于阐明流程.
What Rajesh said is correct. These aren''t documented, so you would not have much luck looking for that on the net. (I could be wrong but when I started out, I didn''t find any.)

However certain books on MFC like Mike Blaczszak''s Professional MFC, and not necessarily the "internals" series, do provide some understanding on the implementation in the starting chapters that introduce the framework. That together with stepping through the code would help elucidate the flow.


这篇关于MFC中的消息映射结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆