CDialog导出 [英] CDialog Export
本文介绍了CDialog导出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我想创建一个从MFC扩展DLL导出的对话框.
调用"DoModal();"在导出的函数"RunDialog();"中工作正常,但我需要无模式对话框.调用创建(IDD);"结果进入空的无响应对话框(但具有已定义资源模板的分辨率).
最后一个错误是NULL和"Create(IDD);".返回1.
我应该创建新线程,然后调用"DoModal();". ?
感谢您的回答.
Hello once again,
I want to create a dialog which is exported from MFC Extension DLL.
Calling "DoModal();" in exported function "RunDialog();" works fine, but I need modeless dialog. Calling "Create(IDD);" results into empty non-responding dialog (Yet with the resolution of defined resource template).
Last error is NULL and "Create(IDD);" returns 1.
Shall I create new thread and then call "DoModal();" ?
Thank you for your answers.
推荐答案
您是否已尝试过
操纵资源来源 [
Have you already tried
to manipulate the resource source[^]
by yourRunDialog(..)
? :)
这篇关于CDialog导出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文