Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 4.42 KB

File metadata and controls

87 lines (68 loc) · 4.42 KB
title Dialog Editor | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
vc.editors.dialog.dialog
vc.editors.dialog.F1
dev_langs
C++
helpviewer_keywords
resource editors, Dialog editor
editors, dialog boxes
Dialog editor
dialog boxes, editing
ms.assetid d94884ef-2cca-49d8-9b58-775f34848134
caps.latest.revision 15
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

Dialog Editor

The Dialog editor allows you to create or edit dialog box resources. You open the dialog editor by double-clicking on a dialog’s .rc file in the Resource View window (View | Resource View). Note that Resource View is not available in Express editions.

One of the first steps in making a new dialog box (or dialog box template) is adding controls to the dialog box. In the Dialog editor, you can arrange controls to fit a certain size, shape, or alignment, or you can move them around to work within the dialog box. It's also easy to delete a control.

You can store a dialog box as a template so you can reuse it. You can also easily switch between designing the dialog box and editing the code that implements it.

It's also possible to edit properties of single or multiple controls in the Dialog editor. You can change the tab order, that is, the order in which controls gain focus when the TAB key is pressed, or you can define an access key (a key combination) that allows users to choose a control using the keyboard. For a list of preset access keys, see Accelerator Keys for the Dialog Editor.

The Dialog editor also allows you to use custom controls, including ActiveX controls. In addition, you can edit a form view, Record Views, or Dialog Bars.

Starting with Visual Studio 2015, you can use the dialog editor to define dynamic layouts, which specify how controls move and resize when the user resizes a dialog. For more information, see Dynamic Layout.

For information on adding resources to managed projects, please see Resources in Desktop Apps 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. For information on globalization and localization of resources in managed apps, see Globalizing and Localizing .NET Framework Applications.

Requirements

Win32

See Also

Resource Editors
Controls
Control Classes
Dialog Box Classes
Dialog Box Controls and Variable Types