Help me make a window without title bar!!!

Started by
0 comments, last by illuna 24 years, 7 months ago
Please, my program is in DirectX/Visual C++ 6.0. I use the CreateWindowEx() function but the window I create ALWAYS have a title bar no matter the flags I specify. Please if you know a way to create a window WITHOUT a title bar, could you email me at illuna@yahoo.com?

Thanks!!

Advertisement
The key is to watch what you put in for the dwStyle parameter.

Just make sure you don't use WS_CAPTION or any of the flags that us WS_CAPTION indirectly (for instance, WS_TILED, WS_OVERLAPPED, etc.). Just make sure the flags you use do not mention having a title.

At the simplest, only use WS_POPUP.

------------------

-Kentamanos

-Kentamanos

This topic is closed to new replies.

Advertisement