
Header2		An enhanced Header Control Demo
-------
		Based on a "C" example by Schildt from his book "Advanced Windows"

This demo shows how to use the Windows header control in rumimentary
data base. The control is evident as a header at the top of a window
and this control will respond to resizing so that columns under the header
can be expanded in width, by resizing the individual column header.

In this example we have four columns for "Title", "Author", "Publisher"
and "Copyright". The title (in particular) is often long and is therefore
not normally fully visible. Resizing the "Title" header will cause the
title columm to expand accordingly and display the full title. The other 
fields react in the same way.

Header2 differs from Header1 in that Header buttons are now built in
to the Header Control. If you double click on a button then the column
underneath will double its width. A single click will restore to the default
width. As in Header1 you can use the mouse to expand the four header controls.

I'm sure you will now go and find uses for this useful control.


Files included are:-

Header1.exe	The demo program
Header1.asm	Source
Header1.rc	Resource file
Makefile
Macros.mac	Macros
 
Ron Thomas.

Ron_Thom@Compuserve.com

www.rbthomas.freeserve.co.uk

26/1/01

 
             

