win32 去掉窗口边框
生活随笔
收集整理的這篇文章主要介紹了
win32 去掉窗口边框
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
參考:http://www.blitzbasic.com/Community/posts.php?topic=67222
StrictGraphics 320, 200SetClsColor 0,64,0RemoveBorder() DrawMsg("Press Key to flip once") DrawMsg("Press Key to Exit")Function RemoveBorder()Local hWnd:Long = GetActiveWindow()Local tmp:Long = GetWindowLongA( hWnd, GWL_STYLE )tmp :~ WS_CAPTIONSetWindowLongA( hWnd, GWL_STYLE, tmp )End FunctionFunction DrawMsg (msg$)ClsSetColor 255,255,255DrawText msg$, 50, 50FlipWaitKey()EndFunctionSetWindowPos( hwnd, 0, 0,0, GraphicsWidth(),GraphicsHeight(), SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED)
轉載于:https://www.cnblogs.com/wangjixianyun/p/3427455.html
總結
以上是生活随笔為你收集整理的win32 去掉窗口边框的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Winform 打开下载的文件
- 下一篇: javascript常用排序算法总结