![]() |
![]() |
![]() |
Framework.SetWindow Method |
Language: |
Sets a previously created window for the framework to use.
Visual Basic .NET Public Sub SetWindow( _
ByVal windowFocus As IntPtr, _
ByVal windowDeviceFullscreen As IntPtr, _
ByVal windowDeviceWindowed As IntPtr, _
ByVal handleMessages As Boolean _
)C# public void SetWindow(
IntPtr windowFocus,
IntPtr windowDeviceFullscreen,
IntPtr windowDeviceWindowed,
bool handleMessages
);Managed C++ public: void SetWindow(
IntPtr windowFocus,
IntPtr windowDeviceFullscreen,
IntPtr windowDeviceWindowed,
bool handleMessages
);JScript .NET public function SetWindow(
windowFocus : IntPtr,
windowDeviceFullscreen : IntPtr,
windowDeviceWindowed : IntPtr,
handleMessages : boolean
);
windowFocus System.IntPtr. Handle of the Microsoft® Direct3D® focus window. windowDeviceFullscreen System.IntPtr. Handle of the Microsoft® Direct3D® window used in full-screen mode. windowDeviceWindowed System.IntPtr. Handle of the Microsoft® Direct3D® window used in windowed mode. handleMessages System.Boolean. Set to true if the framework will handle and respond to messages for the window. Set to false the framework will not handle messages for the window, giving the application full responsibility for responding to messages.
If the SetWindow method has not already been called, it will call it with default parameters. Instead of calling SetWindow you can call the CreateWindow method to create a new window.
No input parameter may be null. However, the same handle may be used for more than one parameter.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center