I am writing a GUI program using C ++ and Winapi, and I want my window to have a user border. Visual Studio 2013 on Windows Desktop does this by replacing the typical window frame with its own scheme, while still functioning like a regular window with a close, minimize and restore button, and also with the ability to move.
A long way to do this would be to create a window with the WS_POPUP style and intercept mouse events using collision detection. However, given that Microsoft itself created programs with different GUI styles, it occurred to me that there might be a more standardized way to do this. To be clear, I'm not interested in using third-party APIs like QT or GTK. I want to do this exclusively with the libraries that Microsoft provides. Given these limitations, is there another way to do this?
c ++ visual-studio-2013 winapi
Nmdmystery
source share