How to create multiple views in one HWND handle?


Can I create multiple small views (each independent and different)
on one window (one HWND handle) in MS Windows ?

Thank you

“Window” (HWND) is already a view. If you want to partition it, simply make more windows\widgets.

Depends what you mean by “independent”. There is 1:1 relationship between swapchain and windows. But at Vulkan level, you can write wherever you want, e.g. limit yourself to only certain coordinates. As long as you only ever have one swapchain object per window.

1 Like

Dear KrOoze:

Thank you so much for your valuable advise and kindness

I understand what you told me

So, see you again and have a great day

Best regards,