Home |
RTKernel-32 Programming Manual Function WOpenWindow |
Function WOpenWindowWOpenWindow creates a new window on the screen, but does not draw a frame and does not clear the new window: WWindow * WOpenWindow(int FirstCol, int FirstRow, int LastCol, int LastRow, int BufferSize); 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).
|