Skip to content

Commit 58fffb2

Browse files
committed
Merging changes synced from https://github.com/MicrosoftDocs/cpp-docs-pr (branch live)
2 parents e5d743a + 0ecc371 commit 58fffb2

File tree

4 files changed

+171
-172
lines changed

4 files changed

+171
-172
lines changed

docs/mfc/reference/creating-a-file-explorer-style-mfc-application.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
---
22
description: "Learn more about: Creating a File Explorer-Style MFC Application"
33
title: "Creating a File Explorer-Style MFC Application"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/25/2021
55
f1_keywords: ["vc.appwiz.mfcexplorer.project"]
66
helpviewer_keywords: ["browsers [MFC], Explorer-style applications", "MFC applications [MFC], Windows Explorer-style", "Explorer-style applications [MFC], creating"]
7-
ms.assetid: f843ab5d-2d5d-41ca-88a4-badc0d2f8052
87
---
98
# Creating a File Explorer-Style MFC Application
109

1110
Many Windows system applications use the user interface (UI) for File Explorer. When you start File Explorer, for example, you see an application with a vertical splitter bar dividing the client area. The left side of the client area provides navigation and browsing features, and the right side of the client area shows details pertinent to the selection in the left pane. When a user clicks an item in the left pane, the application repopulates the right pane. In an MDI application, you can use commands on the **View** menu to change the amount of detail shown in the right pane. (In an SDI or multiple top-level document application, you can change the detail using the toolbar buttons only.)
1211

13-
The contents of the panes depend on the application. In a file-system browser, the left pane shows a hierarchical view of directories or machines, or machine groups, while the right pane displays folders, individual files, or machines, and details about them. The contents do not necessarily have to be files. They could be e-mail messages, error reports, or other items in a database.
12+
The contents of the panes depend on the application. In a file-system browser, the left pane shows a hierarchical view of directories or machines, or machine groups, while the right pane displays folders, individual files, or machines, and details about them. The contents don't necessarily have to be files. They could be e-mail messages, error reports, or other items in a database.
1413

1514
The wizard creates the following classes for you:
1615

17-
- The `CLeftView` class defines the left pane of the client area. It is always derived from [CTreeView](../../mfc/reference/ctreeview-class.md).
16+
- The `CLeftView` class defines the left pane of the client area. It's always derived from [`CTreeView`](../../mfc/reference/ctreeview-class.md).
1817

19-
- The C*ProjName*View class defines the right pane of the client area. By default, it is derived from [CListView](../../mfc/reference/clistview-class.md) but can be another type of view depending on the class you specify from the **Base class** list in the [Generated Classes](../../mfc/reference/generated-classes-mfc-application-wizard.md) page of the wizard.
18+
- The C*ProjName*View class defines the right pane of the client area. By default, it's derived from [`CListView`](../../mfc/reference/clistview-class.md) but can be another type of view depending on the class you specify from the **Base class** list in the [Generated Classes](../../mfc/reference/generated-classes-mfc-application-wizard.md) page of the wizard.
2019

21-
The generated application can have a single document interface (SDI), a multiple document interface (MDI), or a multiple top-level documents architecture. Each frame window the application creates is vertically split using [CSplitterWnd](../../mfc/reference/csplitterwnd-class.md). Coding this application type is similar to coding a normal MFC application that uses a splitter, except that this type of application has separate control views within each splitter pane.
20+
The generated application can have a single document interface (SDI), a multiple document interface (MDI), or a multiple top-level documents architecture. Each frame window the application creates is vertically split using [`CSplitterWnd`](../../mfc/reference/csplitterwnd-class.md). Coding this application type is similar to coding a normal MFC application that uses a splitter, except that this type of application has separate control views within each splitter pane.
2221

2322
If you use the default list view in the right pane, the wizard creates additional menu choices (in MDI applications only) and toolbar buttons to switch the view's style among large icons, small icons, list, and detail modes.
2423

2524
### To begin creating a File Explorer-style MFC executable
2625

2726
1. Follow the directions in [Creating an MFC Application](../../mfc/reference/creating-an-mfc-application.md).
2827

29-
1. In the MFC Application Wizard [Application Type](../../mfc/reference/application-type-mfc-application-wizard.md) page, select the **File Explorer** project style.
28+
1. In the MFC Application Wizard [Application Type](../../mfc/reference/application-type-mfc-application-wizard.md) page, select the **File Explorer** project style. (It may show as **Windows Explorer** in your version of Visual Studio. In the past, the file manager was renamed Windows Explorer. In Windows 10, it was renamed back to File Explorer. If your version of Visual Studio has **Windows Explorer** in the dropdown, this is the option you want for a File Explorer project).
3029

31-
1. Set any other options you desire on the other pages of the wizard.
30+
1. Set any other options you want on the other pages of the wizard.
3231

3332
1. Click **Finish** to generate the skeleton application.
3433

0 commit comments

Comments
 (0)