Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.CreateWindow Method

Language:

Note: This documentation is preliminary and is subject to change.

Creates a window for the application.

Definition

Visual Basic .NET Public Sub CreateWindow( _
    ByVal windowTitle As String _
)
C# public void CreateWindow(
    string windowTitle
);
Managed C++ public: void CreateWindow(
    String *windowTitle
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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