Skip to content

Commit a7ac2b4

Browse files
author
Ross McAllister
authored
Merge pull request MicrosoftDocs#1706 from msebolt/resource-file-consolidation-pr21
resource file consolidation pr21
2 parents fbba52f + 3b73213 commit a7ac2b4

5 files changed

Lines changed: 56 additions & 79 deletions

‎.openpublishing.redirection.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7535,6 +7535,16 @@
75357535
"redirect_url": "/cpp/windows/creating-pop-up-menus",
75367536
"redirect_document_id": false
75377537
},
7538+
{
7539+
"source_path": "docs/windows/moving-and-copying-menus-and-menu-commands.md",
7540+
"redirect_url": "/cpp/windows/selecting-multiple-menus-or-menu-commands",
7541+
"redirect_document_id": false
7542+
},
7543+
{
7544+
"source_path": "docs/windows/deleting-menus-and-menu-commands.md",
7545+
"redirect_url": "/cpp/windows/selecting-multiple-menus-or-menu-commands",
7546+
"redirect_document_id": false
7547+
},
75387548
{
75397549
"source_path": "docs/windows/activationfactory-activationfactory-constructor.md",
75407550
"redirect_url": "/cpp/windows/activationfactory-class#activationfactory",

‎docs/windows/TOC.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,9 @@
129129
##### [Accelerator Keys (Image Editor for Icons)](accelerator-keys-image-editor-for-icons.md)
130130
#### [Menu Editor](menu-editor.md)
131131
##### [Creating a Menu](creating-a-menu.md)
132-
##### [Deleting Menus and Menu Commands](deleting-menus-and-menu-commands.md)
133132
##### [Creating a Submenu](creating-a-submenu.md)
134133
##### [Creating Pop-up Menus](creating-pop-up-menus.md)
135-
##### [Selecting Multiple Menus or Menu Commands](selecting-multiple-menus-or-menu-commands.md)
136-
##### [Moving and Copying Menus and Menu Commands](moving-and-copying-menus-and-menu-commands.md)
134+
##### [Editing Multiple Menus or Menu Commands](selecting-multiple-menus-or-menu-commands.md)
137135
##### [Associating a Menu Command with an Accelerator Key](associating-a-menu-command-with-an-accelerator-key.md)
138136
##### [Associating Menu Commands with Status Bar Text in MFC Applications](associating-menu-commands-with-status-bar-text-in-mfc-applications.md)
139137
##### [Assigning Access Keys to Menu Commands](assigning-access-keys-to-menu-commands.md)

‎docs/windows/deleting-menus-and-menu-commands.md‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎docs/windows/moving-and-copying-menus-and-menu-commands.md‎

Lines changed: 0 additions & 44 deletions
This file was deleted.

‎docs/windows/selecting-multiple-menus-or-menu-commands.md‎

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,56 @@
11
---
2-
title: "Selecting Multiple Menus or Menu Commands (C++)"
2+
title: "Editing Multiple Menus or Menu Commands (C++)"
33
ms.date: "11/04/2016"
4-
helpviewer_keywords: ["menu commands [C++], selecting", "menus [C++], selecting", "commands [C++], menu commands"]
4+
helpviewer_keywords: ["menu commands [C++], selecting", "menus [C++], selecting", "commands [C++], menu commands", "commands [C++], copying on menus", "menu items, moving", "commands [C++], moving on menus", "menu items, copying", "menu items, deleting", "commands [C++], deleting from menus", "menus [C++], deleting"]
55
ms.assetid: b6f17897-2a40-4afd-97d4-a38b7661680b
66
---
7-
# Selecting Multiple Menus or Menu Commands
7+
# Editing Multiple Menus or Menu Commands
88

9-
You can select multiple menu names or menu commands to perform bulk operations such as deleting or changing properties.
9+
For information on adding resources to managed projects, see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
1010

11-
### To select multiple menu commands
11+
## To select multiple menu commands
1212

13-
1. While holding down the **Ctrl** key, click the menus or submenu commands you want.
13+
You can select multiple menu names or menu commands to run bulk operations such as deleting or changing properties.
1414

15-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*.
15+
While holding down the **Ctrl** key, select the menus or submenu commands you want.
16+
17+
## To move and copy menus and menu commands
18+
19+
You can move or copy menus and menu commands using the drag-and-drop method or by using commands on the shortcut menu (right-click menu).
20+
21+
### To move or copy menus or menu commands using the drag-and-drop method
22+
23+
1. Drag or copy the item you want to move to:
24+
25+
- A new location on the current menu.
26+
27+
- A different menu. (You can navigate to other menus by dragging the mouse pointer over them.)
28+
29+
1. Drop the menu command when the insertion guide shows the position you want.
30+
31+
### To move or copy menus or menu commands using shortcut menu commands
32+
33+
1. Right-click one or more menus or menu commands.
34+
35+
1. From the shortcut menu, choose **Cut** (to move) or **Copy**.
36+
37+
1. If you're moving the items to another menu resource or resource script file, [open it in another window](/visualstudio/ide/customizing-window-layouts-in-visual-studio).
38+
39+
1. Select the position of the menu or menu command you want to move or copy to.
40+
41+
1. From the shortcut menu, choose **Paste**. The moved or copied item is placed before the item you select.
42+
43+
> [!NOTE]
44+
> You can also drag, copy, and paste to other menus in other menu windows.
45+
46+
## To delete a menu or menu command
47+
48+
1. Right-click the menu name or command.
49+
50+
1. Choose **Delete** from the shortcut menu.
51+
52+
> [!NOTE]
53+
> Similarly, you can use the shortcut menu to perform other actions such as Copy, Cut, Paste, Insert New, Insert Separator, Edit IDs, View as Pop-up, Check Mnemonics, etc.
1654
1755
## Requirements
1856

0 commit comments

Comments
 (0)