CRecordView& CDialog :: DoModal() [英] CRecordView & CDialog::DoModal()

查看:67
本文介绍了CRecordView& CDialog :: DoModal()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个具有ODBC支持的应用程序,并创建了一个与Crecordset类和Form View关联的CRecordView类.问题是我只想展示CRecordView派生的类,例如CDialog :: DoModal()函数.
请帮助我,使这一切成为可能:((,&我将很感谢有说服力的答案.

I have created an application with ODBC support & created a CRecordView class associated with a Crecordset class & Form View. The problem is that I am stuck to just Show that CRecordView derived class like CDialog::DoModal() function do.
Help me please to make this possible :((, & I will be grateful for a convincing answer.

推荐答案

我正在要求一种方法来显示CRecordView派生类,例如展示了一个具有DoModal()函数的CDialog派生类.
I am asking for method to show a CRecordView derived class like showing a CDialog derived class with DoModal() function.


我不确定您的问题到底在问什么,但您可能会找到答案
I''m not sure what your question is really asking, but you may find the answer here[^].


嗯,
问题是:如何实施
CWnd* CFrameWnd::CreateView(CCreateContext* pContext, UINT nID = AFX_IDW_PANE_FIRST);函数,&然后将其显示为模态?

NB:我的视图类是CRecordView派生类.

对不起,我的英语不好:(
Well,
The question is: How to implement
CWnd* CFrameWnd::CreateView(CCreateContext* pContext, UINT nID = AFX_IDW_PANE_FIRST); function, & then show it as modal ?

NB: My view class is CRecordView derived class.

Sorry for my bad english :(


这篇关于CRecordView& CDialog :: DoModal()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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