Abstract
Creating windows and dialogue boxes is the first stage in the development of any application. The next stage is to add items to each window so that it has some practical functions. This chapter discusses the concept of controls—the buttons, list boxes, and other features that are added to any standard Windows application. It is in the creation of controls that the distinction between dialogue boxes and windows becomes important. The controls on a dialogue box are defined in the resource file. As such, they are not necessarily objects in the true sense and may appear on the dialogue box as a result of direct calls to the Windows functions. The controls on a window are objects, instances of some class, and are treated by Windows as child windows. The Visual Basic approach to controls is almost identical to that of App Studio for Visual C++. Visual Basic offers a few more controls in the tool palette; however, other than that the actions required for creating, deleting, moving, and copying controls are the same as those of C++.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.