Video How to: Creating a Windows Forms Control (C++)
This documentation is archived and is not being maintained.

Video How to: Creating a Windows Forms Control (C++)

Visual Studio 2008

Creating a Windows Forms ControlVideo How To

Authors: Harry Miller, Kathleen McGrath, Jim Vance, Marzena Makuta, Microsoft Corporation

Applies to: Microsoft Visual C++ 2008

Length: 00:07:09 | Size: 21.8 MB | Type: WMV file


Watch the video

Download the video and transcript

Read the step-by-step article

When you create a Windows Forms control to perform a task, you can save that control and import it into any Windows Forms application where you want to perform that task. Creating the control saves you from having to write the same code in multiple projects.

This video shows you how to create a simple control that increments a number every time you click it. The following tasks are included in the process:

  • How to create a project in C++.

  • How to create a user interface.

  • How to add C++ code to make the control work.

  • How to add the control to the Visual Studio Toolbox.

  • How to create a second project in your solution to test the control.

  • How to run and test your program.

The Visual C++ Help includes the code and the steps that are demonstrated in this video. See Creating a Windows Forms Control (C++).

© 2016 Microsoft