Go to Glossary Go to Search Go to IBM C and C++ Compilers Help Home Page Go to IBM Software WWW Site

Button Styles (Expert Mode)

Styles Tab
The Button Styles dialog box allows you to choose styles and text for the various buttons available. You enter the text for the button control in the multi-line entry field, Text. The ID symbol and value are entered through the ID field. Initially, the ID field will contain a value automatically generated by the IRE. This value is generated by determining the highest control value in the design file and increasing that value by 1.

The following list describes the fields available in this dialog box:

When you are creating push-button controls, be aware that there are two predefined values in Presentation Manager that can be used. The first value is DID_OK, and is usually associated with the OK push button. The second value is DID_CANCEL and is generally associated with the Cancel push button. The IRE allows you to select either value from the ID field but will not place the definitions in the include header file, because they are already defined in the Presentation Manager include header files.

There are Cancel and Enter buttons along the bottom of the dialog box.

Font & Color Tab contains only a dialog tab

Bidi Tab (only available with OS/2 Warp)