Wine, WineLib and "Programming Windows 95 with MFC"





2.5.1. Chapter 5 - CtlDemo1

Last updated: 2000/10/20

Description

Shows off the CEdit control. In effect this is a simple text editor with line wrapping, a vertical scrollbar, right-click menu offering one-level undo, cut, copy, paste, delete and select all functionality. The usual keyboard shortcuts also work (Ctrl-X, Ctrl-C, Ctrl-Ins,...)

Wine tests

Tested API

2.5.2. Chapter 5 - CtlDemo2

Last updated: 2000/10/20

Description

Demonstrates the use of a one-line CEdit control and of CNumEdit. You can switch from one to the other using Tab and Shift-Tab. Note that in CNumEdit you will only be able to type digits.

Wine tests

Tested API

2.5.3. Chapter 5 - CtlDemo3

Last updated: 2000/10/20

Description

Shows three ways to put a bitmap in a button. Using the CBitmapButton MFC class, using regular Windows 95 buttons and the BS_BITMAP style, or using regular Windows 95 buttons and the BS_ICON style.

Wine tests

Tested API

2.5.4. Chapter 5 - CtlDemo4

Last updated: 2000/10/20

Description

Shows how to change the color of a control from the parent by implementing OnCtlColor.

Wine tests

Tested API

2.5.5. Chapter 5 - CtlDemo5

Last updated: 2000/10/20

Description

Shows how to implement a control that knows how to change its own color by reflecting the WM_CTLCOLOR message to the control itself.

Wine tests

Tested API

2.5.6. Chapter 5 - FontView

Last updated: 2000/10/20

Description

This application displays the list of fonts installed on the system and shows a sample of the selected font. Note that the print functionality is not implemented. Clicking on 'Show TrueType fonts only' disables the print button, forever.

Wine tests

Tested API

2.5.7. Chapter 5 - IconView

Last updated: 2000/10/20

Description

Creates an ownerdrawn listbox showing the icons contained in a dll or executable. You choose the dll or executable by dropping it onto the listbox (as in drag and drop).

Wine tests

Tested API

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