Style

The Style command controls both visible and invisible attributes of the prototyped window.

·To change the window's style:

1.From the Design menu, choose the Style command. The Style dialog box appears (see Figure 6.5).

2.Turn the appropriate style features on or off, then choose OK.

The following options are available:

Redraw when Sized

Redraws the entire window whenever it is resized, even if parts of the window would remain the same.

Exclude Children when Painting

Ensures that when the parent window (the one you're prototyping) is redrawn, it will not overwrite any child windows.

System Menu

Includes a System menu on the left side of the title bar. The System menu is activated by pressing ALT+SPACEBAR and contains the following commands, all provided by Windows: Restore, Move, Size, Minimize, Maximize, Close, Switch To, and Run.

Initially Visible

Makes your application's window visible when the application starts. (Some applications do “background processing” and might not want a visible window.)

Title Bar

Includes a title bar at the top of the window. Removing the title bar also removes any Minimize or Maximize buttons, the Control menu, and the menu bar.

Minimize Button

Includes a minimize button in the right side of the title bar. Clicking the button shrinks the window down to an inactive icon at the bottom of the screen.

Maximize Button

Includes a maximize button in the right side of the title bar. Clicking the button expands the window to fill the entire screen.

Menu Bar

Adds a bar below the title bar for menu items.

Byte Alignment

Forces the window's border to appear on an alignment boundary (an invisible grid on the screen). Turning off byte alignment allows your window to be positioned at an exact screen location, but slows down the program's execution speed.

Sizable Frame

Uses standard border style for application windows and single-line border style for dialog boxes.