📄 tcxlhist.doc
字号:
TCXL Revision History
Version 3.3:
New features.
Full pull-down menu capability for windows.
"Smart" text line drawing for windows.
Ability to give windows a title.
New functions.
lprintsb - prints a bold-faced string on the printer.
waitkeyt - halts execution until a key is pressed or until a
specified amount of time has elapsed.
wcclear - clears window with specified attribute.
whline - draws a horizontal text line in active window.
wtitle - gives active window a title.
wvline - draws a vertical text line in active window.
Modified functions.
cvaltype - tabs and linefeeds were being allowed for alpha
types. Fixed.
filld - optimized for performance
wchgattr - optimized for performance
wclear - is now a macro defined in TCXLWIN.H
werrmsg - added new error messages.
winpread - optimized for size and performance. No longer
wraps back around when in column 1 of 1st field
wmbardef - optimized for size and performance.
wmbarget - new parameters taginit and pulldown. The taginit
parameter specifies initial position of the
selection bar and the pulldown parameter allows
the DownArrow key to act like the Enter key for
pull-down menus. Fixed a bug which caused the
editing keys to not work right on some occasions.
wopen - now checks for valid box type.
wrestore - optimized for performance
wsave - optimized for performance
wscanf - no longer checks for Escape keypress.
wsetesc - is now a macro defined in TCXLWIN.H, no longer
checks for active window.
New info added to the window record structure _wrecord. See
TCXLWIN.H for full definition.
Version 3.2:
New features.
Bar selection menus.
No limit to number of open windows.
Mouse functions for Microsoft compatible mice.
TCXL is now available in all of Turbo C's memory models:
TCXL.LIB - tiny & small memory models (included)
TCXLM.LIB - medium memory model (with registration)
TCXLC.LIB - compact memory model (with registration)
TCXLL.LIB - large memory model (with registration)
TCXLH.LIB - huge memory model (with registration)
1
New header file for mouse functions: TCXLMOU.H
New functions.
lprintf - sends formatted output to the printer
msbpress - gets info about specific button presses of mouse
msbreles - gets info about specific button releases of mouse
mscursor - sets the mouse cursor mode
msgotoxy - sets the mouse coordinates
mshbounds - sets the mouse horizontal bounds
mshidecur - hides the mouse cursor
msinit - initializes mouse/determines if present
msmotion - gets info about movement of mouse
msshowcur - reveals the mouse cursor
msspeed - adjusts the mouse sensitivity
msstatus - gets the mouse status
msvbounds - sets the mouse vertical bounds
strltrim - trims leading spaces off of a string
strtrim - trims trailing spaces off of a string
wmbardef - defines a window bar menu option
wmbarget - gets a window bar menu option from the keyboard
wmbarxcel - cancels all defined window bar menu options
wsetesc - sets the Escape key checking for window keyboard
input functions
Modified functions.
box - added another box type
boxd - added another box type
emsread - now returns a zero if no error, non-zero if error
emswrite - now returns a zero if no error, non-zero if error
kbstat - is now a macro defined in TCXLKEY.H
setlines - doesn't clear the screen on return from 43 and 50
line modes
strchg - now returns a char *
strcode - now returns a char *
strdel - now returns a char *
strichg - now returns a char *
stridel - now returns a char *
strins - now returns a char *
strrol - now returns a char *
strror - now returns a char *
strshl - now returns a char *
strshr - now returns a char *
struplow - now returns a char *
vidtype - was incorrectly detecting Hercules adapters
wgetchf - Escape checking is now controlled by wsetesc()
wgetns - Escape checking is now controlled by wsetesc()
winpdef - field attribute argument added
winpread - editing keys are now more intuitive. Now processes
fields by screen order rather than by definition
order. Also new editing keys, Ctrl-Enter and Ins
have been added. The Del key now shifts text left
as it deletes.
wopen - added another box type, allows as many open windows
as memory permits
New global variables.
2
_wesc - Escape key checking flag. This is set by the
wsetesc() function.
_wmbarlast - contains the array subscript of the highest
defined bar-menu option.
_wmbarrec - a pointer to the array of defined bar-menu options
Added new fields to the _wrecord structure. See TCXLWIN.H for
description.
Version 3.1:
Bug fix.
A bug was detected in the wchgattr(), wrestore(), wsave(), and
wscroll() functions which may have caused problems in the
Small memory model. Fixed.
Version 3.0:
New features.
Support for EGA 43-line and VGA 50-line modes.
Support for the DESQview windowing environment.
Better support for monochrome adapters.
More windowing functions.
Better error handling in windowing functions.
Formatted window input and output.
Multi-field window input.
Save/restore screens/windows from disk files.
String pattern matching.
The TCXL.H header file has now been broken up into several header
files to conserve compile time and memory. TCXL.H still exists for
compatibility, however, you should only use the header files that
you need.
TCXL.H - all functions (for pre-3.0 compatibility)
TCXLDEF.H - miscellaneous functions
TCXLDSK.H - disk functions
TCXLEMS.H - EMS functions
TCXLKEY.H - keyboard functions
TCXLPRN.H - printer functions
TCXLSTR.H - string functions
TCXLVID.H - video functions
TCXLWIN.H - windowing functions
New functions. See TCXL.DOC for descriptions.
cvaltype - tests given character with given character type
code for validity.
disktoscrn - copies a saved screen disk file to screen.
disktowin - copies a saved window disk file to screen.
fexist - determines if a disk file exists.
getxch - gets a key (ASCII code/extended ASCII code) from
the keyboard.
inputsf - inputs a formatted string from the keyboard.
lprintsu - prints an underlined string to the printer
scrntodisk - copies the current screen to a disk file
setlines - sets the number of lines on the display, up
to 43 lines for EGA, and 50 lines for VGA
adapters
3
strbmatch - returns the best match of a string in an array of
strings
strmatch - compares 2 strings, returns a match score
struplow - converts a string to mixed upper & lower case
touplow - converts a character to upper or lower case
depending on previous character
videoinit - initializes TCXL's video system to the present
video adapter (MDA, HGC, CGA, EGA, VGA) or to
DESQview, if it is active
wchgattr - changes attribute of active window
werrmsg - returns an error message from the last windowing
function
winpdef - defines an area of active window for keyboard
input
winpread - processes keyboard input of all defined areas of
active window
winputsf - inputs a formatted string from the keyboard
within a window
winpxcel - cancels keyboard input of all defined active
window areas
wintodisk - copies a window of the screen to a disk file
wisactiv - determines if specified window handle is active
wnopen - returns the number of open windows
wpgotoxy - sets pseudo window cursor coordinates by wrapping
around
wprintf - outputs a formatted string to active window
wreadcur - reads active window's current cursor coordinates
wscanf - inputs a formatted string from active window
New global variables. See TCXL.DOC for descriptions.
_videoseg - contains the address of the current video RAM
segment. This value initially contains 0xb800
(segment address of CGA) but may be changed upon
calling the videoinit() function.
_werrno - contains the error code from the most recently
performed windowing function. All of the
windowing functions were modified to set this
variable upon exit. See TCXLWIN.H for a list of
error codes.
_winpcurr - current window input record array subscript
_winprec - an array of defined window input records, see
TCXLWIN.H for definition.
Modified functions. See TCXL.DOC for full descriptions.
clrscrn - now clears screens of up to 50 lines
lcrlf - this macro now calls lprintc() with a line feed
character only
lprintc - now translates the linefeed character into a
carriage return - line feed sequence
lprintns - now translates the linefeed character into a
carriage return - line feed sequence
lprints - now translates the linefeed character into a
carriage return - line feed sequence
vidtype - checks for more types of video adapters. See
TCXLVID.H for a complete list
wclear - wasn't homing the cursor after clear, fixed
wmove - wasn't keeping cursor coordinates properly, fixed
4
wopen - was only allowing 9 open windows at a time, now
allows 10 at a time.
wprints - didn't return an error when string was too long for
window, fixed
wputc - backspace character now wraps back around if at the
first window column
To provide compatibility with C naming conventions, the following
functions were renamed.
getsf -> getns
lprintsf -> lprintns
wgetsf -> wgetns
wputsf -> wputns
Added box type 4 for the box(), boxd(), and wopen() functions.
Optimized several functions for better performance.
Version 2.5:
Added new functions for EMS memory management, string manipulation,
and windowing. See TCXL.DOC for full descriptions and examples.
emsalloc - allocates pages of EMS memory
emsdealloc - deallocates previously allocated pages of EMS
memory
emsexist - determines if the EMS device driver is loaded
emsframe - returns the EMS page frame address
emsfree - returns the number of free EMS pages
emsmap - maps a logical EMS page onto a physical page
address
emsread - reads bytes from an EMS page(s)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -