开发者

How do I remove the captiona and border of a window, and how do I make my custom style UI?

开发者 https://www.devze.com 2023-03-12 22:45 出处:网络
I was wondering if it\'s possible to remove the border an开发者_如何学编程d caption of a window. I have done this before but I cannot recall what style I used.

I was wondering if it's possible to remove the border an开发者_如何学编程d caption of a window. I have done this before but I cannot recall what style I used.

Also, how would you go about to make your own UI with fully resizable components. I'm working in C++ at the moment. An example of this "custom UI" would be kinda like Winamp so I'm wondering if this is possible in C++ (with any library or alike).


To create window without caption & border just set style to WS_POPUP instead of WS_OVERLAPPED when create your window:

CreateWindow(szWindowClass, szTitle, WS_POPUP, x, y, width, height, NULL, NULL, hInstance, NULL);
0

精彩评论

暂无评论...
验证码 换一张
取 消