Button Routines

On Windows systems, you can add buttons to a window, list, or tab set, enabling users to terminate input with OK and Cancel buttons or indicate that a specific action should take place.

The button routines are supported only on Windows.

Using the button routines

B_BUTTON - Add, delete, or modify a button on a window or tab set

B_BUTTONSET - Define the placement of a set of buttons on a window or tab set

%B_DISABLE - Disable a button in a window or tab set

%B_ENABLE - Enable a button in a window or tab set

%B_INFO - Return information about the buttons in a window