#region ### START Koda GUI section ### Form=
$Form2 = GUICreate("主题编辑器", 607, 342, -1, -1)
$ToolBar1 = _GUICtrlToolbar_Create($Form2, 0)
_GUICtrlToolbar_AddBitmap($ToolBar1, 1, 0, $hImage)
_GUICtrlListView_SetImageList($ToolBar1, $hImage, 1)
_GUICtrlToolbar_AddButton($ToolBar1, 0, 2);按钮
_GUICtrlToolbar_AddButton($ToolBar1, 0, 3)
_GUICtrlToolbar_AddButton($ToolBar1, 0, 4)
_GUICtrlToolbar_AddButtonSep($ToolBar1);间隔
_GUICtrlToolbar_AddButton($ToolBar1, 0, 5)
_GUICtrlToolbar_AddButton($ToolBar1, 0, 6)
_GUICtrlToolbar_AddButton($ToolBar1, 0, 7)
_GUICtrlToolbar_AddButton($ToolBar1, 0, 8)
_GUICtrlToolbar_AddButton($ToolBar1, 0, 9)
_GUICtrlListView_SetItemImage($ToolBar1, 0, 2)
$Pic1 = GUICtrlCreatePic("", 8, 32, 400, 300)
GUISetState(@SW_SHOW)
#endregion ### END Koda GUI section ###
还是不得行啊。。有例吗? |