如何控制CFileDialog的位置? [英] How to conrol the position of the CFileDialog ?
本文介绍了如何控制CFileDialog的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好.
有没有办法移动CFileDialog
派生的对话框
DoModal()
所显示的,好吗? :)
(自Vista以来,没有任何呼叫OnInitDialog()
或OnInitDone()
的电话)
位置是否保存在HKEY_CURRENT_USER
树中?
谢谢 ! :)
Hello.
Is there a way to move a CFileDialog
-derived dialog
that is showing by DoModal()
, please ? :)
(There are no calls for OnInitDialog()
or OnInitDone()
since Vista)
Is the position saved at the HKEY_CURRENT_USER
tree ?
Thank you ! :)
推荐答案
您好,Eugen,
我认为,如果您使用bVistaStyle = FALSE
创建CFileDialog
派生的对话框(请参阅显式构造函数的最后一个参数此处 [^ ] ),您将会接到OnInitDialog()
或OnInitDone()
的电话. :)
问候
Hi Eugen,
I think that if you create yourCFileDialog
-derived dialog withbVistaStyle = FALSE
(see last parameter of the explicit constructor here[^]) you will get your calls forOnInitDialog()
orOnInitDone()
. :)
Regards
这篇关于如何控制CFileDialog的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文