Megosztás a következőn keresztül:


Dialog Editor Tab, Toolbox

The Dialog Editor tab appears in the Toolbox window when you're working in the Dialog editor. To add controls to your new dialog box, drag controls from the Toolbox to the dialog box you are creating (for more information, see Adding a Control to a Dialog Box). You can then move the controls around or change their size and shape.

The standard controls available in the Toolbox are:

The Windows Common Controls available in the Toolbox provide increased functionality in your application. They include:

You can add custom controls to the dialog box by selecting the Custom Control icon in the Toolbox and dragging it to your dialog box. To add a Syslink control, add a custom control, then change the control's Class property to Syslink. This will cause the properties to refresh and show the Syslink control properties. For more information on the Syslink control in general, see Syslink Control in the Windows SDK. For information on the MFC wrapper class, see CLinkCtrl.

You may also add ActiveX controls to your dialog box.

You can also customize the Toolbox window for easier use. For more information, see Managing Items and Tabs in the Toolbox. For example, you can place controls in the Toolbox window for easy access. For more information, see Customize Toolbox dialog box.

For more information on using the RichEdit 1.0 control with MFC, see Using the RichEdit 1.0 Control with MFC

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Reference

Scroll-Bar Styles

Adding Event Handlers for Dialog Box Controls

Dialog Box Controls and Variable Types

Concepts

Controls (MFC)

Control Classes

Dialog Box Classes

Rich Edit Control Examples