# Can I replace vtkRenderWindow to the window I created?

**URL:** <https://discourse.vtk.org/t/can-i-replace-vtkrenderwindow-to-the-window-i-created/4834>\
**Category:** Development\
**Created:** [December 16, 2020, 2:53pm UTC](https://discourse.vtk.org/t/can-i-replace-vtkrenderwindow-to-the-window-i-created/4834 "2020-12-16T14:53:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![YAN\_LIU](https://discourse.vtk.org/user_avatar/discourse.vtk.org/yan_liu/32/2751_2.png) [@YAN\_LIU](https://discourse.vtk.org/u/YAN_LIU)\
**Post date:** [December 16, 2020, 2:53pm UTC](https://discourse.vtk.org/t/can-i-replace-vtkrenderwindow-to-the-window-i-created/4834/1 "2020-12-16T14:53:17Z")

</div>

I create a window by CreateWindowEx(), and get hWnd.  
Can I replace vtkRenderWindow to the window I created?  
I am new to vtk, but little to DirectX11.  
thanks!
