MQFolderDialog class

(new in Rev4.02)

MQFolderDialog is a class for a dialog to select a folder.

Class
MQFolderDialog Constructor
~MQFolderDialog Destructor
Member function
GetTitle Get a title
SetTitle Set a title
GetFolder Get a folder
SetFolder Set a folder
GetNewFolder Get a changable of a directory
SetNewFolder Set a changable of a directory

MQFolderDialog::MQFolderDialog();

It is a constructor.


virtual MQFolderDialog::~MQFolderDialog();

This method is a destructor. It is defined as a virtual function.


std::wstring MQFolderDialog::GetTitle();

Return value
A title

It returns a title displayed on a title bar in a file dialog.


void MQFolderDialog::SetTitle(const std::wstring& val);

val
A title

It specifies a title displayed on a title bar in a file dialog.


std::wstring MQFolderDialog::GetFolder();

Return value
A filename

It returns a selected folder.


void MQFolderDialog::SetFolder(const std::wstring& val);

val
A filename

It specifies an initial folder.


bool MQFolderDialog::GetNewFolder();

Return value
Whether to create a new folder

It returns whether to create a new directory or not in a file dialog.


void MQFolderDialog::SetNewFolder(bool val);

val
Whether to create a new folder

It specifies whether to create a new directory or not in a file dialog.