请问这个批处理是怎样配合Wbat.com及Wbat.ini来控制对话框的颜色的?以下是Wbat.ini的内容: 作者: billgates 时间: 2004-7-23 02:24 标题: [求助]哪位高手能给这个批处理解释一下? 以下是Wbat.ini的内容:
; WBAT INI file (semicolon for comments)
[general] ;1/0 for on/off
BlinkMode=0 ;off recommended (see below)
ELvar=1 ;SET ?=box exit code (errorlevel)
rightESC=0 ;ESC by right mouse click outside box
ESCinput=0 ;on ESC: 1=do not discard input
ErrorPause=1 ;Halt on errors (errorlevel 255)
KeybFlush=0 ;flush keyboard buffer before box
display
DragAnim=1 ;box drag animation (1 is default)
BoxFrame=" " ;3*3 pattern, example: "谀砍 忱馁"
CheckSymbol="+" ;or 251 ;(checkbox) decimal code or quoted char
RadioSymbol="*" ;or 254 ;(radio buttons) decimal or quoted char
SourceFile=WBAT.TXT ;default source file name for layouts
PalFile= ;color palette (command: wbat pal)
FontFile= ;font file (command: wbat font)
;("+" means: in directory of WBAT.COM)
[color]
Screen= white on black ;default for CLS and FILL
TextHi= green on +white ;screen text hilite (~~)
TextTitle=white on magenta ;screen text title (#)
Box= black on +white ;default for box/menu/list
BoxHi= green on +white ;box text hilite
Divider= black ;dividers in box (char "?, code 196)
Shadow= +black ;box shadow (NONE: no shadow)
BoxTitle= +white on +magenta ;box title
Bar= +white on +blue ;active control element
Button= black on white ;control elements
HotKey= +red ;hotkey character (background
optional)
;NONE turns off hotkey functionality
;notes
;colors: black,red,green,blue,brown,cyan,magenta,white
;optional: bright/light or "+" character
; yellow = bright brown, grey/gray = (normal) white
;Blinkmode=1 shows blinking characters instead of bright background.
;By deault blinking is turned off. No blinking in GUI mode anyhow.作者: Climbing 时间: 2004-7-23 03:37 标题: [求助]哪位高手能给这个批处理解释一下? 自己好好看一下WBAT的说明吧,我没有用过WBAT,不太了解。