KK> This is constructed on the same base class as the other posting
KK> of WINDERS.CPP. In this version, though, I cut back to two
KK> window types and a listbox example. I included the ability to
KK> use the UP, DOWN, PAGE UP, PAGE DOWN, HOME, and END keys.
KK> ENTER will return the hi-lited entry, and ESC will return the
KK> default entry.
KK> This was constructed and tested with Borland C++ 3.1, so there
KK> will need to be adjustments for output and no-scroll code if it
KK> is to be used with another compiler. All instances of window(),
KK> cprintf(), gettext(), puttext(), gotoxy(), clrscr(), textattr(),
KK> and _wscroll, which are Borland specific, will need to be replaced
KK> with an equivalent function.
Yes... So, where is this Winders.Cpp? ;-)
Take care,
Anthony Tibbs
... Open mouth, insert foot, echo internationally.
--- Blue Wave/DOS v2.30 [NR]
---------------
* Origin: The Tibbs' Point - Ottawa, ON, Canada - Pvt (1:163/215.38)
|