Skip to Main Content
Mastering Microsoft® Visual Basic® 2008
book

Mastering Microsoft® Visual Basic® 2008

by Evangelos Petroutsos
March 2008
Beginner content levelBeginner
1152 pages
33h 45m
English
Sybex
Content preview from Mastering Microsoft® Visual Basic® 2008

Chapter 12. Building Custom Windows Controls

Just as you can design custom classes, you can use Visual Studio to design custom controls. The process is very similar, in the sense that custom controls have properties, methods, and events, which are implemented with code that's identical to the code you'd use to implement these members with classes. The difference is that controls have a visual interface and interact with the user. In short, you must provide the code to draw the control's surface, as well as react to selected user actions from within the control's code.

In this chapter, you'll learn how to enhance the functionality of existing controls, a common practice among developers. You've already seen in the preceding chapter how to inherit ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Visual Basic® 2008 Step by Step

Microsoft® Visual Basic® 2008 Step by Step

Michael Halvorson
Moving to Microsoft® Visual Studio® 2010

Moving to Microsoft® Visual Studio® 2010

Patrice Pelland, Pascal Pare, Ken Haines

Publisher Resources

ISBN: 9780470187425Purchase book