应用程序SDI MFC与类CMFCOutlookBar和CListView CLass [英] Application SDI MFC with class CMFCOutlookBar and CListView CLass

查看:83
本文介绍了应用程序SDI MFC与类CMFCOutlookBar和CListView CLass的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Visual C ++ MFC中使用Document / View模型创建一个应用程序,我正在使用Outlook栏。

我已经使用CTreeList修改了Outlook栏并成功了现在我想在mainfrm.cpp中创建和编译,当我选择一个项目树时,程序显示一个不同的表。

真正的问题是:我不能这样做因为这个应用程序是我的第一个SDI和我不知道如何从意见中交换信息。

任何人都可以一步一步解释我如何解决它。

我将非常感激。



Giovanni

HI all i am trying to wirte an application with Document/View model in visual C++ MFC and i am using the Outlook bar.
I have modified the Outlook bar using the CTreeList and i have successfully created and compiled in mainfrm.cpp now i want that when i select an Item tree the program show a different table.
The true problem is: I cannot do it becouse this app is my first SDI and i don''t know how exchange information from views.
Can anyone explain me step by step how to solve it.
I will be very gratefull.

Giovanni

推荐答案

您可以将信息封装成消息,然后将其发送到CView
You can Encapulate the information into a message, then send it to CView


这篇关于应用程序SDI MFC与类CMFCOutlookBar和CListView CLass的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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