Click to See Complete Forum and Search --> : No Tiltebar on SDI Windows


ChevySupaSport
June 13th, 2003, 03:36 AM
Well everybody my name is "the guy who needs help" i am a hobbiest who like making programs. Im just learning C++ coming from years of programming with VB.

Well any ways like anybody else I turn to the internet to solve a problem I have been having, and my problem is this. I am trying to get the Titlebar of a SDI Win32 app to dissapear. If anybody has a clue theyre input will be greatly appreciated.

Thank you,
the guy who needs help

rxbagain
June 13th, 2003, 04:04 AM
Specify WS_POPUPWINDOW in your CreateWindowEx instead of WS_OVERLAPPEDWINDOW. In doing this, you must also set a valid Width and Height to your window.

Hope it will help you

ChevySupaSport
June 14th, 2003, 07:33 PM
Can you make the titlebar dissappear by setting a different window style?

rxbagain
June 14th, 2003, 09:23 PM
Yes! That' how we tell the system that we want a window w/o a titlebar.

ChevySupaSport
June 15th, 2003, 11:07 PM
YES! i went home and changed the style then BAM! I had me a window with no titlebar YIPPEE! Thanks for being helpful. I though WS_POPUP