Programming Windows (Fifth Edition)





2.5.1. Chapter 5 - AltWind

Last updated: 2001/2/26

Description

Draws two sets of overlapping rectangles with different fill modes.

Wine tests

Winelib tests

2.5.2. Chapter 5 - Bezier

Last updated: 2001/2/26

Description

Display a bezier curb. The two endpoints are kind of in the middle of the window and when you click and move the mouse you move the endpoint's tangent and its weight. The left button affects the left endpoint and the right mouse button affects the right endpoint. If the mouse moves outside the window its movements are ignored. If the window is resized the bezier curve returns to its default configuration.

Wine tests

Winelib tests

2.5.3. Chapter 5 - Clover

Last updated: 2001/2/26

Description

Draws a clover occupying the whole surface of the window with lines starting from its center.

Wine tests

Winelib tests

2.5.4. Chapter 5 - DevCaps1

Last updated: 2001/2/26

Description

Prints out the characteristics of the screen device. This is the equivalent of SysMets1 (no scrollbar).

Wine tests

Winelib tests

2.5.5. Chapter 5 - LineDemo

Last updated: 2001/2/26

Description

Draws a rectangle, an inscribed ellipse, another nested rectangle with round corners this time, and diagonals stopping on the ellipse.

Wine tests

Winelib tests

2.5.6. Chapter 5 - RandRect

Last updated: 2001/2/26

Description

Displays random rectangles of random colors (they seem to be taken from the Windows palette though) and sizes. When one moves the window around or resizes it the display is suspended and restarts after the operation is finished.

Wine tests

Winelib tests

2.5.7. Chapter 5 - SineWave

Last updated: 2001/4/1

Description

Draws the first period of a sinusoid.

Wine tests

Winelib tests

2.5.8. Chapter 5 - WhatSize

Last updated: 2001/2/26

Description

Displays various metrics about the window.

Wine tests

Winelib tests

fgouget@free.fr This page is hosted for free by Free.fr