w_cls.c

来自「[随书类]Dos6.0源代码」· C语言 代码 · 共 32 行

C
32
字号
/***************************************************************************/
/*																									*/
/*	W_CLS.C																						*/
/*                                                                         */
/*		Copyright (c) 1991 - Microsoft Corp.											*/
/*		All rights reserved.																	*/
/*		Microsoft Confidential																*/
/*                                                                         */
/* Function to clear the work area of the screen. The work are is defined  */
/* as the area below the screen header and above the help prompt at the    */
/* bottom of the screen.                                                   */
/*																									*/
/*	void WorkAreaCls( void )																*/
/*																									*/
/*	ARGUMENTS:	NONE																			*/
/*	RETURNS:		void																			*/
/*																									*/
/* johnhe - 03/15/89																			*/
/***************************************************************************/

#include 	<alias.h>
#include 	<window.h>
#include		<bios_io.h>

void WorkAreaCls( void )
{
	extern unsigned char		ScreenWidth;

   VideoScrollDn( TITLE_ROW, 0, 23, VideoGetWidth() - 1,
						0, GetBackGroundColor() );
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?