Creation of Main Window without a Title Bar
Posted on 2004-09-24
I am trying to make the initial window when my program starts to appear without a title bar - that is, the only area that I would like to appear is the client area with a border around it. I have tried the various suggestions given within this forum, but none have thus far worked. My usual results include:
* a very small window appearing on the left hand side of my window
* nothing at all (usually when I use WS_POPUP)
* a blue title bar field and the client area without any borders
I am programming in C using Visual Studio.net. Can someone please let me know which window style (or window style combinations) that I should use within the CreateWindow (or CreateWindowEx ) function? Also, is it necessary for me to specify something for the caption option within this function, since I am not going to display the title bar?