Category : C Source Code
Archive   : BLMENU.ZIP
Filename : WINDOW.DOC

 
Output of file : WINDOW.DOC contained in archive : BLMENU.ZIP
These routines were written by Chuck Jazdzewski of Borland International.

-------------------------------------------------------------------------
makewindow
-------------------------------------------------------------------------
Function Creates a window and makes it current

Syntax windowtype *makewindow( int left, int top,
int right, int bottom,
unsigned char attrib,
unsigned char style, char *title )

Prototype window.h

Remarks The coordinates DO NOT include the border, so the largest
allowable window is 2,2 through 79,24.
Style: 0=non-graphics border
1=single line border
2=double line border
3=single line horizontals, double line verticals

Return Value on error, makewindow returns NULL and sets windowerr:
1 = Out of Memory
2 = Invalid Coordinates

-------------------------------------------------------------------------
deletewindow
-------------------------------------------------------------------------
Function Deletes a window from memory and the screen

Syntax int deletewindow( windowtype *winptr )

Prototype in window.h

Remarks Only a current window may be deleted

Return Value deletewindow return 0 on success, -1 on failure

-------------------------------------------------------------------------
winwrite
-------------------------------------------------------------------------
Function Writes a string to the specified window

Syntax void winwrite( windowtype *winptr, char *string )

Prototype in window.h

Remarks If the speicified window is in the backgorund,
winwrite will write the string to memory so that it
will show up when the window is made current

-------------------------------------------------------------------------
shiftwindow
-------------------------------------------------------------------------
Function Makes a new window current

Syntax int shiftwindow( windowtype *winptr )

Return Values shiftwindow return 0 on success, 1 for Out of Memory


  3 Responses to “Category : C Source Code
Archive   : BLMENU.ZIP
Filename : WINDOW.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/