Microsoft Windows* (XP, Vista, 7)

Controlling Menus

You do not have to use the default QuickWin menus. You can eliminate and alter menus, menu item lists, menu titles or item titles. The QuickWin functions that control menus are described in the following sections:

Defining an About Box

The ABOUTBOXQQ function specifies the message displayed in the message box that appears when the user selects the About command from a QuickWin application's Help menu. (If your program does not call ABOUTBOXQQ, the QuickWin run-time library supplies a default string.) The message string must be a null-terminated C string. For example:

Using Custom Icons

The QuickWin run-time library provides default icons that appear when the user minimizes the application's frame window or its child windows. You can add custom-made icons to your executable files, and Windows will display them instead of the default icons.

To add a custom child window icon to your QuickWin program:

Using a Mouse

Your applications can detect and respond to mouse events, such as left mouse button down, right mouse button down, or double-click. Mouse events can be used as an alternative to keyboard input or for manipulating what is shown on the screen.

QuickWin provides two types of mouse functions:

Subscribe to Microsoft Windows* (XP, Vista, 7)