#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiStatusBar.au3>
#include <ListViewConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=c:\documents and settings\administrator\桌面\form1_1.kxf
$Form1_1 = GUICreate("Form1", 210, 706, 643, 3)
$Group1 = GUICtrlCreateGroup("", 8, 392, 196, 233)
$Pic1 = GUICtrlCreatePic("F:\我的文档\My Pictures\02.jpg", 7, 8, 196, 380,$WS_CLIPSIBLINGS)
$ListView1 = GUICtrlCreateListView("专业名称", 16, 408, 179, 207)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 175)
GUICtrlSetFont($ListView1, 12)
$item1 = GUICtrlCreateListViewItem("test", $ListView1)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("马上报名", 8, 632, 195, 49)
GUISetState(@SW_SHOW)
;底层窗口
$hwnd = WinGetHandle("Program Manager", "")
DllCall("user32.dll", "hwnd", "SetParent", "hwnd", $Form1_1, "hwnd", $hwnd)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|