Newer
Older
Microsoft / screendoor / VSTRUCT.H
@tundra tundra on 24 May 2012 1 KB Initial revision
/*  VSTRUCT.H - Video Data Control Structure Template
				Last Modified: 06/11/86
				Copyright (C) 1986, T.A. Daneliuk
*/


struct	VSTRUCT
{
	int			iattrib;			/* Input Color Attributes				*/
	int			pattrib;			/* Prompt Color Attributes				*/
	int			pvert;				/* Prompt Vertical Position				*/
	int			phoriz;				/* Prompt Horizontal Position			*/
	int			pdsply;				/* TRUE Means Display Prompt			*/
	char		*parray;			/* Pointer To Array Containing Prompt	*/
	int			rattrib;			/* Response Color Attributes			*/
	int			rvert;				/* Response Vertical Position			*/
	int			rhoriz;				/* Response Horizontal Position			*/
	int			rallow;				/* TRUE Means Allow User Response		*/
	char		*rarray;			/* Pointer To Array Receiving Response	*/
	int			rlen;				/* Maximum Allowed User Response Length	*/
	char		rfill;				/* Keyin Time Fill Character			*/
	int			rspace;				/* TRUE Allows Blanks In Response		*/
	int			rcval;				/* Single Char. Validation Code 0=None	*/
	int			(*rvalid) ();		/* Pointer To Validation Routine		*/
	int			mustfill;			/* TRUE Means Field Must Be Filled		*/
	int			rreqd;				/* TRUE Means A Response Is Required	*/
	int			autoskp;			/* TRUE Means Autoskip On				*/
	struct VSTRUCT *hlp;			/* Pointer To Help Screen Structure		*/
	int			lastfld;			/* TRUE Indicates No More Field Defs.	*/
};


/*  END OF <VSTRUCT.H> INSERT DECK  */