The reason I want the non client area is so that I can still send caption messages and resize the window like normal but be able to draw my own title bar and borders. I have played around with it in every way I could possibly think and searched everywhere and posting here was my last resort. Its seeming like its not able to be done and I'll just have to either deal with having the standard windows frame or simulate basic window moving and resizing via calls from JavaScript to c++. Thanks for your help looking Into to it though
The (good) options can basically be summarized as follows:
1. Keep the non-client area and render it yourself by using C++ code to handle WM_NC* messages. 2. Lose the non-client area and handle resizing yourself in C++ code using hooks.