找回密码
 加入
搜索
查看: 29611|回复: 30

[交流] 窗口最大化后为什么会变成这样?

 火... [复制链接]
发表于 2010-5-14 09:44:32 | 显示全部楼层 |阅读模式
本帖最后由 dongribo 于 2010-5-14 10:58 编辑


#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=机房管理软件.kxf
$Form1_1 = GUICreate("机房管理软件", 438, 309, 221, 163, BitOR($WS_MAXIMIZEBOX,$WS_MINIMIZEBOX,$WS_SYSMENU,$WS_GROUP,$WS_TABSTOP))
$Tab1 = GUICtrlCreateTab(0, 0, 433, 305)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$TabSheet1 = GUICtrlCreateTabItem("机房考试前准备工作软件")
$Button1 = GUICtrlCreateButton("同步专家网吧版", 24, 42, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button2 = GUICtrlCreateButton("局域网时间同步", 24, 103, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button3 = GUICtrlCreateButton("窗口移动工具 V.01", 24, 165, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button4 = GUICtrlCreateButton("窗口移动精灵1.91", 24, 226, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button5 = GUICtrlCreateButton("更改IP地址", 246, 42, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button6 = GUICtrlCreateButton("更改计算机名与IP地址", 246, 103, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button7 = GUICtrlCreateButton("阻止U盘加载", 246, 165, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button8 = GUICtrlCreateButton("更改计算机名", 246, 226, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$TabSheet2 = GUICtrlCreateTabItem("系统相关软件")
$Button9 = GUICtrlCreateButton("CMD", 25, 41, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button10 = GUICtrlCreateButton("计算机管理", 25, 102, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button11 = GUICtrlCreateButton("添加或删除程序", 25, 164, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button12 = GUICtrlCreateButton("设备管理器", 25, 225, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button13 = GUICtrlCreateButton("注册表", 247, 41, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button14 = GUICtrlCreateButton("注销计算机", 247, 102, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button15 = GUICtrlCreateButton("重启计算机", 247, 164, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button16 = GUICtrlCreateButton("关闭计算机", 247, 225, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$TabSheet3 = GUICtrlCreateTabItem("软件破解相关软件")
$Button17 = GUICtrlCreateButton("3D不能注册的解决方法", 19, 45, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button18 = GUICtrlCreateButton("3dsmax8.0破解器", 19, 106, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button19 = GUICtrlCreateButton("CAD2006破解器", 19, 168, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button20 = GUICtrlCreateButton("天正7.5破解器", 19, 229, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button21 = GUICtrlCreateButton("序列号输入机", 241, 45, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button22 = GUICtrlCreateButton("Photoshop CS2破解器", 241, 106, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button23 = GUICtrlCreateButton("Premiere Pro 2.0破解器", 241, 168, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button24 = GUICtrlCreateButton("Dreamweaver MX 2004破解", 241, 229, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$TabSheet4 = GUICtrlCreateTabItem("网络相关软件")
$Button25 = GUICtrlCreateButton("飞鸽传书2007", 20, 43, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button26 = GUICtrlCreateButton("解决局域网共享", 20, 103, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button27 = GUICtrlCreateButton("GHOST生IP修改工具", 20, 163, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
$Button28 = GUICtrlCreateButton("Internet属性", 20, 223, 161, 41)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

        EndSwitch
WEnd

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2010-7-19 20:04:55 | 显示全部楼层
可以加上
  Opt('GUIResizeMode', 802)   

评分

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

查看全部评分

发表于 2010-7-20 13:05:36 | 显示全部楼层
Opt('GUIResizeMode', 1)
发表于 2010-7-24 19:06:52 | 显示全部楼层
学习了,谢谢回复的朋友。
发表于 2010-12-3 10:50:44 | 显示全部楼层
学习了      ......
发表于 2010-12-8 15:16:33 | 显示全部楼层
收藏啦
发表于 2010-12-10 15:43:36 | 显示全部楼层
呵呵,新手都会碰到这些莫名其妙的问题。
发表于 2011-2-19 22:04:59 | 显示全部楼层
认真学习了!
发表于 2011-2-26 21:33:57 | 显示全部楼层
偶也学习了。。。。
发表于 2011-3-10 11:06:56 | 显示全部楼层
受用!
发表于 2011-3-12 08:06:08 | 显示全部楼层
先记录下来
发表于 2011-4-8 09:45:14 | 显示全部楼层
终于可以实现窗口控件的同步放大了
发表于 2011-5-9 12:33:16 | 显示全部楼层
沙发,正解
发表于 2011-5-9 13:48:15 | 显示全部楼层
这个一直没留意,学习了
发表于 2011-5-22 21:29:49 | 显示全部楼层
学习了,很典型的问题
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-4-20 07:35 , Processed in 0.087344 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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