如何调用带有recordview类的对话框? [英] How to call a dialog with recordview class??

查看:164
本文介绍了如何调用带有recordview类的对话框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我阅读了有关不使用向导创建自己的记录集的文章,所以我想我会问你这个问题.
我有1个formview对话框来显示数据库中的记录,我创建了一个第二个对话框,其中有一个Recordset类,我希望能够在屏幕之间切换,但是我不能,因为我不能调用第二个对话框. br/>
我能够使用DoModal()在普通对话框中做到这一点,但我没有Recordet类的选项?

您的回复将不胜感激,
谢谢,
Cathal.

解决方案

mccathal写道:

我阅读了关于

哪篇文章?这个网站上有成千上万的由数百个人撰写的文章.这就是为什么在文章结尾处有一个论坛来发布问题的原因.


嗯,这并不重要,作为C ++程序员,我要问的是我如何使用记录视图类?


您到目前为止的错误:

1-您问过两次
2-您按下答案"按钮,但不发布答案.编辑您的信息以添加详细信息
3-您未通过最基本的智力测验(您询问的文章底部有一个论坛,这是一个常规论坛)
4-您说那没关系,作为一个C ++程序员,我要问的问题是我如何调用带有recordview类的对话框?".如果这是C ++问题,为什么不将其标记为C ++?


Hi,
I read your article on creating your own recordset without using the wizard so i thought i would ask you this question..

I have 1 formview dialog which display''s the records from my database, i have created a second dialog with a class of Recordset, i want to be able to switch between the screens but i cant because i cant call the second one.

Im able to do this with normal dialogs using DoModal() but i dont have the option from the recordet class??

Your reply would be appreciated,
Thanks,
Cathal.

解决方案

mccathal wrote:

I read your article on



Which article? there are thousands on this website written by hundreds of different people. That is why there is a forum at the end of the article to post questions.


Well that doesnt really matter, my question to you as a c++ programmer is how i can call a dialog with a recordview class?


Your mistakes so far:

1 - you asked twice
2 - you push the ''answer'' button but don''t post an answer. Edit your post to add details
3 - you fail the most basic intelligence test ( there is a forum at the bottom of the article you asked about, this is a general forum )
4 - you say "Well that doesnt really matter, my question to you as a c++ programmer is how i can call a dialog with a recordview class?". If this is a C++ question, why did you not tag it as C++ ?


这篇关于如何调用带有recordview类的对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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