如何控制CFileDialog的位置? [英] How to conrol the position of the CFileDialog ?

查看:89
本文介绍了如何控制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 your CFileDialog-derived dialog with bVistaStyle = FALSE (see last parameter of the explicit constructor here[^]) you will get your calls for OnInitDialog() or OnInitDone(). :)

Regards


这篇关于如何控制CFileDialog的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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