Resources: Non-Dialog Resources

This section is for those resources not specifically to do with dialogs are any of their associated controls, although these resources can be used with dialogs if required.

The following examples are described:

Images
image: 'images', click for larger image

This is an example of how to use images as resources. Only bitmaps, cursors and icons can be used directly as image resources. This example is based on the 'Simple Window' example.

Menus and Accelerators
image: 'menus & accelerators', click for larger image

This is an example of how to create menus and accelerators from resources. Accelerators are simply keyboard shorcuts for various activities, most often menu actions. This example is based on the 'modeless dialog' example

Stringtable
image: stringtable, click for larger image

Resources can act as a convenient store for strings using the STRINGTABLE resource definition statement.

User Defined resources and RCDATA
image: User Defined resources and RCDATA, click for larger image

Resources can be made to store user-defined data, either as part of a RCDATA section or as a user-defined section, complete with user label..

Version Information
image: version information, click for larger image

Resources can contain version information for the executable or dll. This information can be viewed by right-clicking the file and selecting the 'version' tab of the file properties sheet.