Framework.CreateWindow Method

Language:

Creates a window for the application.

Definition

Visual Basic Public Sub CreateWindow( _
    ByVal windowTitle As String _
)
C# public void CreateWindow(
    string windowTitle
);
C++ public:
void CreateWindow(
    StringwindowTitle
);
JScript public function CreateWindow(
    windowTitle : String
);

Parameters

windowTitle System.String
The title to use for the form that is created.

Remarks

This method is called by the framework with default parameter if the application calls the CreateDevice, SetDevice, or CreateDeviceFromSettings methods before this method.

Instead of calling CreateWindow, you can call SetWindow to change the settings of the current window used by the application.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center