TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: KURT KUZBA
date: 1998-03-05 00:00:00
subject: Winders.CPP note

This is constructed on the same base class as the other posting
of WINDERS.CPP. In this version, though, I cut back to two
window types and a listbox example. I included the ability to
use the UP, DOWN, PAGE UP, PAGE DOWN, HOME, and END keys.
ENTER will return the hi-lited entry, and ESC will return the
default entry.
This was constructed and tested with Borland C++ 3.1, so there
will need to be adjustments for output and no-scroll code if it
is to be used with another compiler. All instances of window(),
cprintf(), gettext(), puttext(), gotoxy(), clrscr(), textattr(),
and _wscroll, which are Borland specific, will need to be replaced
with an equivalent function.
> ] Some people dream in Black & White. I just dream in black...
---
---------------
* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.