opening a window that has no title bar with win32

前端 未结 5 1014
无人共我
无人共我 2020-12-08 05:24

I\'m developing a c++ application for windows. I\'m using win32 API. I have a very simple question, which i couldn\'t find an answer to. How can i open a window without a ti

5条回答
  •  有刺的猬
    2020-12-08 05:45

    CreateWindowEx(0, szWindowClass, 0, WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP, 0, 0, WINDOW_WIDTH, WINDOW_HEIGHT, NULL, NULL, hInstance, NULL);
    

    using SetWindowLong will change the size and post. use the WS_POPUP style

提交回复
热议问题