ABSTRACT

Windows Resources A resource is a binary data object that is defined outside of your program's source code. Resources are an essential component of a Windows program, and this chapter will introduce you to creating resources and accessing them from your source code. The following is a list of resources that can be created using the resource editor in Visual C++: • Menus • Keyboard accelerators • Bitmaps, including icons and cursors • Toolbars • Dialog windows • String tables • Version information

A Visual C++ project typically contains a single resource file, which is named with an rc extension. The resource file is actually a text file, but you do not have to edit it yourself. It is generated for you by Visual C++ from the resource editor. Each resource has a WYSIWYG tool for creating and editing the resource.