![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 10:09 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » In DOS, batch processing can also achieve the effect of a three-dimensional window |
| Printable Version 2,323 / 2 |
| Floor1 DXSX | Posted 2010-06-29 20:03 |
| 中级用户 Posts 147 Credits 247 | |
|
http://u.115.com/file/f542efb272
winx.vfd.gz Batch processing can also achieve a three-dimensional effect of the window under DOS winx.awk is used to outline the border of the window to present a three-dimensional effect Involved software: 1. UCDOS with special display function and ucmouse 2. wbat 3. awk 4. choix 5. ctmouse Usage steps 1. UCDOS calls the Chinese system and special display function RD16 KNL RDFNT TX 2. Mouse call CTMOUSE UCMOUSE 3. Use of WBAT WBAT TEXT 2,6 (BLUE ON WHITE) "DAFDSAFDASFDASF" Realize to display the specified text content in the specified screen area 4. Use of AWK to draw a three-dimensional border on the specified area of the screen through the winx.awk script ECHO.|AWK -f winx.awk -v x=2 y=6 h=1 l=15 ok=0 Realize to draw a raised border in the area starting from column 6 of row 2 on the screen with a height of 1 line and a width of 15 characters 5. Use of choix choix /c:o /m /n /s Wait for the user to input "o" via the keyboard or click the letter "o" on the screen via the mouse. The only place more powerful than choic is that it can wait for the user to click the letter with the mouse. [ Last edited by DXSX on 2010-6-30 at 10:00 ] Attachments winx1.GIF (17.25 KiB) winx2.GIF (17.8 KiB) winx3.GIF (16.66 KiB) |
|
| Floor2 panyanyany | Posted 2010-07-26 14:17 |
| 初级用户 Posts 12 Credits 22 | |
| Floor3 hodge | Posted 2010-07-26 23:05 |
| 新手上路 Posts 2 Credits 4 | |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |