31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
Common File Dialog Modes Sample
|
|
================================
|
|
Demonstrates how to use the Common File Dialog in different modes to pick files,
|
|
containers (folders) or multiple items in a "basket" mode without dismissing the
|
|
dialog. This sample also demonstrates how to use the Common File Dialog to pick
|
|
both files and folders from the same dialog in "basket" mode.
|
|
|
|
|
|
Sample Language Implementations
|
|
===============================
|
|
C++
|
|
|
|
To build the sample using the command prompt:
|
|
=============================================
|
|
1. Open the Command Prompt window and navigate to the CommonFileDialogModes directory.
|
|
2. Type msbuild CommonFileDialogModes.sln.
|
|
|
|
|
|
To build the sample using Visual Studio (preferred method):
|
|
===========================================================
|
|
1. Open Windows Explorer and navigate to the CommonFileDialogModes directory.
|
|
2. Double-click the icon for the CommonFileDialogModes.sln file to open the file in Visual Studio.
|
|
3. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.
|
|
|
|
|
|
To run the sample:
|
|
=================
|
|
1. Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer.
|
|
2. Type CommonFileDialogModes.exe at the command line, or double-click the icon for CommonFileDialogModes.exe to launch it from Windows Explorer.
|
|
|