Wednesday, February 20, 2008

CREATING RESOURCES :

CREATING RESOURCES :

DEFINITION OF RESOURCE:

Resources are designed to use and also made reusable by different applications .By their definition they are used by the program but not created programmatically.

I f multiple instances of an application are loaded in memory, windows doesn’t load the resources multiple time it instead loads the resources when first instance is initiated and simply maps a view to the resource into other instances.

TYPES OF RESOURCES:

DATA TYPE MEANING

MENU defines the menu structure for a program

ACCERELATOR Defines the keyboard shortcuts for the menu items that can used instead of mouse.
BITMAP Is a picture defining larger images.

CURSOR is a picture defining data, which defines the types of mouse cursor shapes.

DIALOG BOX Defines the layout of components like buttons, radio buttons etc.

FONT Are data defining characters.

ICON is a picture defining small images.

STRING TABLE IS a table of character strings that is used for messages used within the program.

No comments: