Home |
RTKernel-32 Programming Manual Function WNewWindow |
Function WNewWindowFunction WNewWindow creates a new window on the screen and returns a pointer to the associated window structure: WWindow * WNewWindow(int FirstCol, int FirstRow, int LastCol, int LastRow, int BufferSize, int Attr, const char * Title); ParametersFirstColFirst screen column for the new window (zero-based). FirstRowFirst screen row for the new window (zero-based). LastColLast screen column for the new window. LastRowLast screen row for the new window. BufferSizeDefines the size of a buffer which RTTextIO allocates to store formatted strings in function Wprintf. If you don't need Wprintf, you can set Buffersize to 0 to save memory. AttrInitial video attribute for the new window. TitlePointer to a title for the new window. return valuePointer to the window structure of the new window. The coordinates of the new window are relative to the upper left hand corner of the screen starting at (0,0). WNewWindow calls WOpenWindow and WFrame and clears the window.
|