I've been unable to find anything about this. Given a window created with SFML (assuming ofcourse were on Windows):
sf::Window window(sf::VideoMode(800, 600), "My window");
Is it possible to get the actual HWND and HInstance of the created window? Some getter? or perhaps a neat hack?
Something like:
window.getHWND()
window.getHInstance()
Would be pretty ideal, but it dosent exist. Any suggestions are appreciated.
Update
This is not a duplicate of this question, because im specifically asking how to retrive the HWND and HInstance of the SFML window. Not how to integrate Vulkan with SFML. So issues of an SFML window already having a swapchain is irrelevant to this question, not to the other one tho. I just included the context in case anyone was wondering. Sorry for the confusion.