I'm creating a small notepad program and for learning purposes I wanted to remove the system title bar (The bar at the top of most programs with the title, icon, and minimize, maximize and close[x] buttons). Below is the code used to create the window. Still new to the Win32api stuff, so even the way I create the window may not be ideal.
The 4th parameter to your CreateWindowEx() call is the style of the window to create. The WS_OVERLAPPEDWINDOW style includes, I believe, a title bar. You can check out the styles in the MSDN CreateWuindowEx() documentation. So if you don't want a title bar simply use style combinations that don't include one.
Alright so removing WS_OVERLAPPEDWINDOW gets rid of the minimize, maximize, close buttons, however the title bar itself is still there, just without the top right buttons. I'm still digging around MSDN to see what might work.
I guess changing the title bar to black would be sufficient as well but I think with Microsofts way of giving every version of windows a different look and style for a windows title bar makes this impractical.
Visual Studios title bar and main app color blend to be the same color where as I have a giant white(ish) title bar and black background app. Just trying to blend them in that manor.