I used DirectX 11 because it appears to be best supported version for viewports. Its pretty easy to switch to a different version if preferred.
Because of the way Windows blocks the message loop on a move/resize, having smooth resizing on your main window can be rather annoying to implement. There are numerous ways to deal with this. I've included a move/resize technique that I think works rather well and is very minimal.
I used DirectX 11 because it appears to be best supported version for viewports. Its pretty easy to switch to a different version if preferred.
Because of the way Windows blocks the message loop on a move/resize, having smooth resizing on your main window can be rather annoying to implement. There are numerous ways to deal with this. I've included a move/resize technique that I think works rather well and is very minimal.