常见对话框的示例? [英] Example of a common dialog?

查看:80
本文介绍了常见对话框的示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我显然不是很擅长C ++所以请原谅我这是一个

愚蠢的问题...

我想创建一个模拟的公共对话框类似于

的Windows文件对话框,这将是一个dll,可以通过

多个其他软件产品调用;目前Powerbuilder和C ++应用程序

将成为调用者。到目前为止,我尝试这样做的尝试都失败了。可以

有人指点我,或者给我一个简单的例子,一个模态对话框

程序可以直接由调用者调用吗?或者,可能在

最少解释我所涉及的步骤?


谢谢,

Libby

I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby

推荐答案

Libby写道:
我显然不太擅长C ++所以请原谅我这是一个愚蠢的问题......
我想创建一个以Windows文件对话框为模型的通用对话框,它将在一个dll中,可以被多个其他软件产品调用;目前Powerbuilder和C ++应用程序将成为调用者。到目前为止,我尝试这样做的尝试都失败了。可以
任何人都指出我,或者给我一个简单的例子,一个可以由调用者直接调用的模态对话框程序吗?或者,可能至少解释一下我所涉及的步骤?

谢谢,
利比
I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby




既然你是不太擅长C ++,我会对你很温柔。

C ++有一个C ++标准描述的功能区域。

额外的功能可以添加到程序中通过使用平台

或编译器特定的库。对话窗口在这个区域。

它们不是_standard_ C ++库的一部分,并且不是这个新闻组中讨论的
。您需要在更合适的新闻组中询问专家

。下面列出的C ++ FAQ和Welcome.txt

将包含对更合适的

新闻组的引用。

-

Thomas Matthews


C ++新闻组欢迎辞:
http://www.slack.net/~shiva/welcome.txt

C ++常见问题: http://www.parashift.com/c++-faq-lite

C常见问题: http://www.eskimo.com/~scs/ c-faq / top.html

alt.comp.lang.learn.c-c ++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html

其他网站:
http://www.josuttis.com - - C ++ STL图书馆书



Since you are not very good at C++, I will be gentle with you.
The C++ has an area of functionality described by the C++ standard.
Extra functionality can be added to a program by using platform
or compiler specific libraries. Dialog windows are in this area.
They are not part of the _standard_ C++ library and are not
discussed in this newsgroup. You will need to ask the experts
in a more appropriate newsgroup. The C++ FAQ and Welcome.txt
listed below will contain references to more appropriate
newsgroups.
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book


两个建议:

1.如果您正在为MS操作系统开发,请查看他们的

visual c ++或visual basic .NET。您可以使用这些创建DLL。

2.查看wxWindows,一个跨平台的GUI工具包

http://www.wxwindows.org/) 。他们的

库中有一个文件对话框。警告:你可能需要稍微挖掘一下来设置你的系统


Two suggestions:
1. if you''re developing for MS operating system, look into their
visual c++ or visual basic .NET. You can create DLLs with those.
2. look into wxWindows, a cross-platform GUI toolkit
(http://www.wxwindows.org/). They have a file dialog in their
library. Warning: you may need to dig around a little to set it up on
your system.


" Thomas Matthews" <钍********************** @ sbcglobal.net>在留言中写道

news:9g ******************* @ newssvr31.news.prodigy。 com ...
"Thomas Matthews" <Th**********************@sbcglobal.net> wrote in message
news:9g*******************@newssvr31.news.prodigy. com...
Libby写道:
我显然不太擅长C ++所以请原谅我这是一个愚蠢的问题...
我想创建一个以Windows文件对话框为模型的公共对话框,它将在一个dll中,可以被多个其他软件产品调用;目前Powerbuilder和C ++应用程序将成为调用者。到目前为止,我尝试这样做的尝试都失败了。可以
任何人都指出我,或者给我一个简单的例子,一个可以由调用者直接调用的模态对话框程序吗?或者,可能至少解释一下我所涉及的步骤?

谢谢,
利比
I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby



因为你不是很擅长C ++,我会对你很温和。
C ++有一个C ++标准描述的功能区域。
可以使用平台
或编译器特定的库将额外的功能添加到程序中。对话窗口在这个区域。
它们不是_standard_ C ++库的一部分,在这个新闻组中没有讨论。您需要在更合适的新闻组中询问专家。下面列出的C ++ FAQ和Welcome.txt
将包含对更合适的新闻组的引用。



Since you are not very good at C++, I will be gentle with you.
The C++ has an area of functionality described by the C++ standard.
Extra functionality can be added to a program by using platform
or compiler specific libraries. Dialog windows are in this area.
They are not part of the _standard_ C++ library and are not
discussed in this newsgroup. You will need to ask the experts
in a more appropriate newsgroup. The C++ FAQ and Welcome.txt
listed below will contain references to more appropriate
newsgroups.




这是一个很好的回复。托马斯,我的帽子贴了你。

-

加里



This is a beautiful response. My hat is tipped to you, Thomas.
--
Gary


这篇关于常见对话框的示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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