◄Up► ◄Contents► ◄Index► ◄Back► ─────PWB Extensions───────────────────────────────────────────────────────── Syntax: PWND SplitWnd( PWND pWindow, flagType fVert, int Position, int fDup ); Returns: A handle to the new window if successful; otherwise, NULL. See: CloseWnd, Resize, ◄Using Windows► This function is provided only for compatibility with PWB 1.x extensions. New extensions should use NewWindow. See: NewWindow SplitWnd creates a new window by splitting an existing window. Argument Description <pWindow> Window to be split <fVert> Ignored <Position> Ignored <fDup> Determines how the file history for the new window is to be created, as explained below. Each window has a separate file history. When you create a new window with SplitWnd, you must specify how you want the file history for the new window and the window it was created from to be handled. The following values can be given for <fDup>: Value Description 0 Duplicate the file history. Both windows will have copies of the same file history after the split. 2 Do not duplicate the file history. The new window gets a file list consisting of only the current file. The history of the old window is unaffected. 4 Move the file history from the old window to the new window. The new window gets the file history. The old window gets a file history consisting of only the current file. -♦-