找回密码
 加入
搜索
查看: 2258|回复: 4

请教如何创建一个无边框的窗口

[复制链接]
发表于 2010-1-18 10:19:41 | 显示全部楼层 |阅读模式
本帖最后由 ttpply 于 2010-1-18 15:59 编辑

请教如何创建一个无边框的窗口
发表于 2010-1-18 11:14:57 | 显示全部楼层
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", -1, -1, -1, -1,$WS_POPUP)
$Button1 = GUICtrlCreateButton("退出", 96, 136, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
                Case $Button1
                        Exit
                
        EndSwitch
WEnd

评分

参与人数 1金钱 +15 收起 理由
afan + 15

查看全部评分

 楼主| 发表于 2010-1-18 15:58:46 | 显示全部楼层
回复 2# xlcwxl


    ok  谢谢
发表于 2010-1-18 16:07:39 | 显示全部楼层
一个无边框窗口的例子,里面的东西全是无边框窗口实现的,【传送门
发表于 2011-12-7 11:06:09 | 显示全部楼层
不错不错,学习了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-10-1 05:34 , Processed in 0.090088 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表