dongribo 发表于 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

lllangxx 发表于 2010-7-19 20:04:55

可以加上Opt('GUIResizeMode', 802)   

lin0308 发表于 2010-7-20 13:05:36

Opt('GUIResizeMode', 1)

曼菲士 发表于 2010-7-24 19:06:52

学习了,谢谢回复的朋友。

tianrenhao 发表于 2010-12-3 10:50:44

学习了      ......

kaige 发表于 2010-12-8 15:16:33

{:face (356):}{:face (303):}{:face (303):}{:face (303):}收藏啦

ahphsautoit 发表于 2010-12-10 15:43:36

呵呵,新手都会碰到这些莫名其妙的问题。

syhw222 发表于 2011-2-19 22:04:59

认真学习了!

这疼那疼 发表于 2011-2-26 21:33:57

偶也学习了。。。。

lhylm 发表于 2011-3-10 11:06:56

受用!{:1_535:}

chenlu_ling 发表于 2011-3-12 08:06:08

先记录下来

zouyingj 发表于 2011-4-8 09:45:14

终于可以实现窗口控件的同步放大了

the886 发表于 2011-5-9 12:33:16

沙发,正解

风行者 发表于 2011-5-9 13:48:15

这个一直没留意,学习了

yinbinly 发表于 2011-5-22 21:29:49

学习了,很典型的问题
页: [1] 2 3
查看完整版本: 窗口最大化后为什么会变成这样?