I want to extend CFileDialog on MFC

Asked 2 years ago, Updated 2 years ago, 138 views

Thank you for your help.


on MFC CFileDialog
https://msdn.microsoft.com/ja-jp/library/dk77e5e7.aspx
In , you can create dialogs to open common Windows files.

"When using the screen on Windows tabs, I would like to increase the overall size of the dialog itself to make it easier to touch, and display larger buttons such as ""Open"" and ""Cancel""."

I don't know the specific code, so I would appreciate it if you could let me know.
The environment will be win7 VS2008SP1.

c++ mfc

2022-09-30 18:28

1 Answers

We would like to increase the overall size of the dialog itself and display larger buttons such as "Open" and "Cancel".

Probably not possible with CFileDialog.The dialog displayed in this API is Windows OS standard provided dialog, so I don't think you can customize it in detail.

You can use the same class of SetTemplate() or GetIFileDialogCustomize() to add radio buttons and labels to the dialog.However, you cannot interfere with the existing dialog because it is only an "addition" of UI parts.


2022-09-30 18:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.