开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜