How to change window style for hwnd ?

With this solution, just be careful about not using black color on cube or your 3D model.