This feature allows icons and buttons to display a different bitmap than the original when the mouse moves over them, or when a left-click operation is done. The 'mouse over' image is the image that will be displayed when the user hovers the mouse over the . The 'mouse pressed' image will be displayed when the user left clicks on the button or icon. In both cases, the button or icon must have a response string associated with it.

You can use this feature without any changes to the PROIV program or logic. It simply requires that there is a separate bitmap file for each of the mouse actions. The bitmaps should all be the same size, and they can generally be the same image, customized with different shadings or colors.

The Bitmap for the “Mouse Over" image has a name suffix of "_1". The Bitmap for the “Mouse Pressed? has a suffix of "_2".  For example:

The original image for an icon is PROICON.BMP. If there is a PROICON_1.BMP located in the bitmap search path, it will be used as the MouseOver Icon. If there is a PROICON_2.BMP located in the bitmap search path, it will be used when the is left-clicked.

Normal             PROICON.BMP                   

MouseOver       PROICON_1.BMP               

MousePressed   PROICON_2.BMP               

Comment on this topic

Topic ID: 760055

Table of Contents

Index

Glossary

-Search-

Back