博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
软件菜单
阅读量:5129 次
发布时间:2019-06-13

本文共 102363 字,大约阅读时间需要 341 分钟。

<span style="color: #F000FF;">#include</span>&nbsp;&lt;Misc.au3&gt;<BR><span style="color: #F000FF;">#include</span>&nbsp;&lt;GUIMenu.au3&gt;<BR><span style="color: #F000FF;">#include</span>&nbsp;&lt;Constants.au3&gt;<BR><span style="color: #F000FF;">#include</span>&nbsp;&lt;GuiListView.au3&gt;<BR><span style="color: #F000FF;">#include</span>&nbsp;&lt;ComboConstants.au3&gt;<BR><span style="color: #F000FF;">#include</span>&nbsp;&lt;WindowsConstants.au3&gt;<BR>&nbsp;<BR><span style="color: #000090;">Opt</span>('TrayIconHide',&nbsp;1)<BR><span style="color:#AA0000;">$sGuiName</span>&nbsp;=&nbsp;'软件菜单&nbsp;—&nbsp;Beta&nbsp;1.8.5'<BR><span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">WinExists</span>(<span style="color:#AA0000;">$sGuiName</span>)&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">WinActivate</span>(<span style="color:#AA0000;">$sGuiName</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Exit</span><BR><span style="color: #0000FF;">EndIf</span><BR>&nbsp;<BR><span style="color: #000090;">HotKeySet</span>('{Enter}',&nbsp;'Enter')<BR><span style="color: #000090;">AdlibRegister</span>('Memory',&nbsp;3000)&nbsp;<span style="color: #009933;">;注册一个 Adlib 函数 AdlibRegister ( "函数" [, 时间] )</span><span style="color: #009933;"></span><BR><span style="color: #000090;">Opt</span>('TrayIconHide',&nbsp;0)<BR><span style="color: #000090;">Opt</span>("TrayMenuMode",&nbsp;1)<BR><span style="color: #000090;">Opt</span>("GUICloseOnESC",&nbsp;0)<BR><span style="color: #000090;">Opt</span>("TrayOnEventMode",&nbsp;1)<BR>&nbsp;<BR><span style="color: #009933;">;~ Global Const $WM_DROPFILES = 0x0233</span><span style="color: #009933;"></span><BR><span style="color: #0000FF;">Global</span>&nbsp;<span style="color:#AA0000;">$aDroppedFiles</span>[1]<BR><span style="color: #0000FF;">Global</span>&nbsp;<span style="color:#AA0000;">$hListView</span>[6],&nbsp;<span style="color:#AA0000;">$hType</span>,&nbsp;<span style="color:#AA0000;">$Combo1</span>,&nbsp;<span style="color:#AA0000;">$Radio1</span>,&nbsp;<span style="color:#AA0000;">$Radio2</span>,&nbsp;<span style="color:#AA0000;">$Radio3</span>,&nbsp;<span style="color:#AA0000;">$Radio4</span>,&nbsp;<span style="color:#AA0000;">$oSkin</span><BR><span style="color: #0000FF;">Global</span>&nbsp;<span style="color:#AA0000;">$iGroupID</span>,&nbsp;<span style="color:#AA0000;">$iPage</span>&nbsp;=&nbsp;0<BR><span style="color: #0000FF;">Global</span>&nbsp;<span style="color:#AA0000;">$avArray</span>[6]&nbsp;=&nbsp;['全部',&nbsp;'娱乐',&nbsp;'影音',&nbsp;'办公',&nbsp;'工具',&nbsp;'其他']<BR><span style="color: #0000FF;">Global</span>&nbsp;<span style="color:#AA0000;">$sConversion</span>&nbsp;=&nbsp;'(\(|\))'<BR>&nbsp;<BR><span style="color:#AA0000;">$sConfigPath</span>&nbsp;=&nbsp;<span style="color: #FF33FF;">@ScriptDir</span>&nbsp;&&nbsp;'\config1.8.ini'<BR><span style="color: #AA0000;">$MyGui</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICreate</span>(<span style="color: #AA0000;">$sGuiName</span>,&nbsp;800,&nbsp;600,&nbsp;-1,&nbsp;-1,&nbsp;-1,&nbsp;<span style="color: #AA0000;">$WS_EX_ACCEPTFILES</span>)&nbsp;<span style="color: #009933;">;$WS_OVERLAPPEDWINDOW = 最大化可用</span><span style="color: #009933;"></span><BR><span style="color: #000090;">GUIRegisterMsg</span>(<span style="color: #AA0000;">$WM_NOTIFY</span>,&nbsp;"WM_NOTIFY")<span style="color: #009933;">;已知的Windows 消息代码(WM_MSG)注册一个用户自定义的函数.GUIRegisterMsg ( msgID, "函数" ) </span><span style="color: #009933;"></span><BR><span style="color: #000090;">GUIRegisterMsg</span>(<span style="color:#AA0000;">$WM_COMMAND</span>,&nbsp;"WM_COMMAND")<BR><span style="color: #000090;">GUIRegisterMsg</span>(<span style="color:#AA0000;">$WM_DROPFILES</span>,&nbsp;"WM_DROPFILES")<BR><span style="color: #000090;">TraySetOnEvent</span>(<span style="color: #AA0000;">$TRAY_EVENT_PRIMARYUP</span>,&nbsp;"SpecialEvent")<span style="color: #009933;">;当系统托盘发生一个特殊事件就执行一个用户自定义函数. </span><span style="color: #009933;"></span><BR>&nbsp;<BR>Dim&nbsp;<span style="color:#AA0000;">$aX</span>[6]&nbsp;=&nbsp;[115,&nbsp;1000,&nbsp;1000,&nbsp;1000,&nbsp;1000,&nbsp;1000]<BR><span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$i</span>&nbsp;=&nbsp;0&nbsp;<span style="color: #0000FF;">To</span>&nbsp;5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$hListView</span>[$i]&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateListView</span>("",&nbsp;<span style="color:#AA0000;">$aX</span>[$i],&nbsp;5,&nbsp;680,&nbsp;500,&nbsp;-1,&nbsp;<span style="color:#AA0000;">$WS_EX_CLIENTEDGE</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(-1,&nbsp;8)&nbsp;<span style="color: #009933;">;$GUI_DROPACCEPTED = 8 即控件支持拖拽</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetColor</span>(-1,&nbsp;0x0080C0)<span style="color: #009933;">;设置控件中的文本色</span><span style="color: #009933;"></span><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iBkColor</span>&nbsp;=&nbsp;<span style="color: #000090;">Number</span>(<span style="color: #000090;">IniRead</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'BkColor',&nbsp;<span style="color:#AA0000;">$i</span>,&nbsp;'12639424'))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetColumnWidth</span>(<span style="color: #AA0000;">$hListView</span>[$i],&nbsp;0,&nbsp;200)&nbsp;<span style="color: #009933;">;更改列宽</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetExtendedListViewStyle</span>(<span style="color: #AA0000;">$hListView</span>[$i],&nbsp;<span style="color: #000090;">BitOR</span>(<span style="color: #AA0000;">$LVS_EX_FULLROWSELECT</span>,&nbsp;<span style="color: #AA0000;">$LVS_EX_DOUBLEBUFFER</span>))<span style="color: #009933;">;设置扩展样式</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetBkColor</span>(<span style="color:#AA0000;">$hListView</span>[$i],&nbsp;<span style="color:#AA0000;">$iBkColor</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetTextBkColor</span>(<span style="color:#AA0000;">$hListView</span>[$i],&nbsp;<span style="color:#AA0000;">$iBkColor</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetOutlineColor</span>(<span style="color: #AA0000;">$hListView</span>[$i],&nbsp;<span style="color: #AA0000;">$iBkColor</span>)&nbsp;<span style="color: #009933;">;设置边框颜色</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetView</span>(<span style="color: #AA0000;">$hListView</span>[$i],&nbsp;1)&nbsp;<span style="color: #009933;">;设置控件的视图</span><span style="color: #009933;"></span><BR><span style="color: #0000FF;">Next</span><BR><span style="color: #000090;">Switcha</span>(<span style="color: #AA0000;">$hListView</span>[0],&nbsp;<span style="color: #AA0000;">$avArray</span>[0])<span style="color: #009933;">;$avArray[6] = ['全部', '娱乐', '影音', '办公', '工具', '其他']</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #AA0000;">$Combo1</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateCombo</span>(<span style="color: #AA0000;">$avArray</span>[1],&nbsp;60,&nbsp;540,&nbsp;80,&nbsp;21,&nbsp;<span style="color: #AA0000;">$CBS_DROPDOWNLIST</span>)&nbsp;<span style="color: #009933;">;$CBS_DROPDOWNLIST = 控件不可编辑</span><span style="color: #009933;"></span><BR><span style="color: #000090;">GUICtrlSetData</span>(-1,&nbsp;<span style="color:#AA0000;">$avArray</span>[2]&nbsp;&&nbsp;'|'&nbsp;&&nbsp;<span style="color:#AA0000;">$avArray</span>[3]&nbsp;&&nbsp;'|'&nbsp;&&nbsp;<span style="color:#AA0000;">$avArray</span>[4]&nbsp;&&nbsp;'|'&nbsp;&&nbsp;<span style="color:#AA0000;">$avArray</span>[5])<BR><span style="color:#AA0000;">$Input1</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateInput</span>("",&nbsp;210,&nbsp;540,&nbsp;230,&nbsp;21)<BR><span style="color:#AA0000;">$Input2</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateInput</span>("",&nbsp;620,&nbsp;540,&nbsp;100,&nbsp;21)<BR>&nbsp;<BR><span style="color:#AA0000;">$Buta</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>("添加",&nbsp;720,&nbsp;538,&nbsp;60,&nbsp;25,&nbsp;<span style="color:#AA0000;">$WS_GROUP</span>)<BR><span style="color:#AA0000;">$Butb</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>("浏览",&nbsp;440,&nbsp;538,&nbsp;50,&nbsp;25,&nbsp;<span style="color:#AA0000;">$WS_GROUP</span>)<BR>&nbsp;<BR><span style="color: #000090;">GUICtrlCreateGroup</span>("",&nbsp;5,&nbsp;0,&nbsp;100,&nbsp;280)<BR><span style="color: #AA0000;">$But0</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>(<span style="color: #AA0000;">$avArray</span>[0],&nbsp;15,&nbsp;15,&nbsp;80,&nbsp;30,&nbsp;<span style="color: #AA0000;">$WS_GROUP</span>)<span style="color: #009933;">;此样式的控件被指定为控件组的第一个控件.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;控件组由第一个控件和其后定义的所有控件组成, 直到下一个带有 WS_GROUP 样式的控件为止.</span><span style="color: #009933;"></span><BR><span style="color:#AA0000;">$But1</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>(<span style="color:#AA0000;">$avArray</span>[1],&nbsp;15,&nbsp;60,&nbsp;80,&nbsp;30,&nbsp;<span style="color:#AA0000;">$WS_GROUP</span>)<BR><span style="color:#AA0000;">$But2</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>(<span style="color:#AA0000;">$avArray</span>[2],&nbsp;15,&nbsp;105,&nbsp;80,&nbsp;30,&nbsp;<span style="color:#AA0000;">$WS_GROUP</span>)<BR><span style="color:#AA0000;">$But3</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>(<span style="color:#AA0000;">$avArray</span>[3],&nbsp;15,&nbsp;150,&nbsp;80,&nbsp;30,&nbsp;<span style="color:#AA0000;">$WS_GROUP</span>)<BR><span style="color:#AA0000;">$But4</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>(<span style="color:#AA0000;">$avArray</span>[4],&nbsp;15,&nbsp;195,&nbsp;80,&nbsp;30,&nbsp;<span style="color:#AA0000;">$WS_GROUP</span>)<BR><span style="color:#AA0000;">$But5</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateButton</span>(<span style="color:#AA0000;">$avArray</span>[5],&nbsp;15,&nbsp;240,&nbsp;80,&nbsp;30,&nbsp;<span style="color:#AA0000;">$WS_GROUP</span>)<BR>&nbsp;<BR><span style="color: #000090;">GUICtrlCreateGroup</span>("图标排列方式",&nbsp;5,&nbsp;300,&nbsp;100,&nbsp;135)<BR><span style="color:#AA0000;">$Radio1</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateRadio</span>("大&nbsp;图&nbsp;标",&nbsp;20,&nbsp;325,&nbsp;68,&nbsp;17)<BR><span style="color:#AA0000;">$Radio2</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateRadio</span>("小&nbsp;图&nbsp;标",&nbsp;20,&nbsp;350,&nbsp;68,&nbsp;17)<BR><span style="color:#AA0000;">$Radio3</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateRadio</span>("平&nbsp;&nbsp;&nbsp;&nbsp;铺",&nbsp;20,&nbsp;375,&nbsp;68,&nbsp;17)<BR><span style="color:#AA0000;">$Radio4</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateRadio</span>("列&nbsp;&nbsp;&nbsp;&nbsp;表",&nbsp;20,&nbsp;400,&nbsp;68,&nbsp;17)<BR><span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$Radio1</span>,&nbsp;1)<BR>&nbsp;<BR><span style="color:#AA0000;">$sDefaultSkin</span>&nbsp;=&nbsp;<span style="color: #000090;">IniRead</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'Skin',&nbsp;'Default',&nbsp;'去掉皮肤')<BR><span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$sDefaultSkin</span>&nbsp;&lt;&gt;&nbsp;''&nbsp;And&nbsp;<span style="color:#AA0000;">$sDefaultSkin</span>&nbsp;&lt;&gt;&nbsp;'去掉皮肤'&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$Skin</span>&nbsp;=&nbsp;'去掉皮肤'&nbsp;&&nbsp;'|'<BR><span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sDefaultSkin</span>&nbsp;=&nbsp;'去掉皮肤'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$Skin</span>&nbsp;=&nbsp;''<BR><span style="color: #0000FF;">EndIf</span><BR>&nbsp;<BR><span style="color:#AA0000;">$search</span>&nbsp;=&nbsp;<span style="color: #000090;">FileFindFirstFile</span>(<span style="color: #FF33FF;">@ScriptDir</span>&nbsp;&&nbsp;'\Skin\*.she')<BR><span style="color: #0000FF;">While</span>&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$file</span>&nbsp;=&nbsp;<span style="color: #000090;">FileFindNextFile</span>(<span style="color:#AA0000;">$search</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #FF33FF;">@error</span>&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;ExitLoop<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$Skin</span>&nbsp;&=&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$file</span>,&nbsp;'\.she',&nbsp;'')&nbsp;&&nbsp;'|'<BR><span style="color: #0000FF;">WEnd</span><BR>&nbsp;<BR><span style="color: #000090;">GUICtrlCreateGroup</span>("皮肤设置",&nbsp;5,&nbsp;445,&nbsp;100,&nbsp;60)<BR><span style="color:#AA0000;">$hSkin</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateCombo</span>(<span style="color:#AA0000;">$sDefaultSkin</span>,&nbsp;15,&nbsp;470,&nbsp;80,&nbsp;21,&nbsp;<span style="color: #000090;">BitOR</span>(0x2,&nbsp;0x40,&nbsp;0x00200000,&nbsp;0x3,&nbsp;<span style="color:#AA0000;">$CBS_DROPDOWNLIST</span>))<BR><span style="color: #000090;">GUICtrlSetData</span>(-1,&nbsp;<span style="color:#AA0000;">$Skin</span>)<BR>&nbsp;<BR><span style="color: #0000FF;">Global</span>&nbsp;<span style="color:#AA0000;">$aMenuItemText</span>[10]&nbsp;=&nbsp;['运行程序',&nbsp;'程序目录',&nbsp;'刷新图标',&nbsp;'修改名称',&nbsp;'删除项目',&nbsp;'',&nbsp;'颜色设置',&nbsp;'设置当页背景色',&nbsp;'设置当页文本色',&nbsp;'恢复当页默认色']<BR><span style="color: #AA0000;">$iMenu</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateContextMenu</span>(<span style="color: #000090;">GUICtrlCreateDummy</span>())<span style="color: #009933;">;在GUI上创建一个 Dummy 控件</span><span style="color: #009933;"></span><BR><span style="color:#AA0000;">$hMenu</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlGetHandle</span>(-1)<BR>&nbsp;<BR><span style="color:#AA0000;">$iMenuItem1</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[0]&nbsp;&&nbsp;'(&A)',&nbsp;<span style="color:#AA0000;">$iMenu</span>)<BR><span style="color:#AA0000;">$iMenuItem2</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[1]&nbsp;&&nbsp;'(&P)',&nbsp;<span style="color:#AA0000;">$iMenu</span>)<BR><span style="color:#AA0000;">$iMenuItem3</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[2]&nbsp;&&nbsp;'(&R)',&nbsp;<span style="color:#AA0000;">$iMenu</span>)<BR><span style="color:#AA0000;">$iMenuItem4</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[3]&nbsp;&&nbsp;'(&S)',&nbsp;<span style="color:#AA0000;">$iMenu</span>)<BR><span style="color:#AA0000;">$iMenuItem5</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[4]&nbsp;&&nbsp;'(&D)',&nbsp;<span style="color:#AA0000;">$iMenu</span>)<BR><span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[5],&nbsp;<span style="color:#AA0000;">$iMenu</span>)<BR><span style="color:#AA0000;">$iColor</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenu</span>(<span style="color:#AA0000;">$aMenuItemText</span>[6]&nbsp;&&nbsp;'(&C)',&nbsp;<span style="color:#AA0000;">$iMenu</span>)<BR><span style="color:#AA0000;">$iMenuItem6</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[7],&nbsp;<span style="color:#AA0000;">$iColor</span>)<BR><span style="color:#AA0000;">$iMenuItem7</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[8],&nbsp;<span style="color:#AA0000;">$iColor</span>)<BR><span style="color:#AA0000;">$iMenuItem8</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateMenuItem</span>(<span style="color:#AA0000;">$aMenuItemText</span>[9],&nbsp;<span style="color:#AA0000;">$iColor</span>)<BR>&nbsp;<BR><span style="color: #000090;">GUICtrlCreateGroup</span>("添加程序",&nbsp;5,&nbsp;515,&nbsp;790,&nbsp;60)<BR><span style="color: #000090;">GUICtrlCreateLabel</span>("类型:",&nbsp;20,&nbsp;543,&nbsp;40,&nbsp;24)<BR><span style="color: #000090;">GUICtrlCreateLabel</span>("目录:",&nbsp;170,&nbsp;543,&nbsp;40,&nbsp;24)<BR><span style="color: #000090;">GUICtrlCreateLabel</span>("软件名(可省略):",&nbsp;515,&nbsp;543,&nbsp;100,&nbsp;24)<BR>&nbsp;<BR><span style="color: #000090;">GUICtrlCreateLabel</span>("查看位置:",&nbsp;10,&nbsp;583,&nbsp;62,&nbsp;17)<BR><span style="color:#AA0000;">$hType</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlCreateLabel</span>(<span style="color:#AA0000;">$avArray</span>[0],&nbsp;70,&nbsp;583,&nbsp;60,&nbsp;17)<BR><span style="color: #000090;">GUICtrlCreateLabel</span>("系统版本:"&nbsp;&&nbsp;<span style="color: #FF33FF;">@OSVersion</span>,&nbsp;250,&nbsp;583,&nbsp;150,&nbsp;17)<BR><span style="color: #000090;">GUICtrlCreateLabel</span>("系统日期:"&nbsp;&&nbsp;<span style="color: #FF33FF;">@YEAR</span>&nbsp;&&nbsp;"-"&nbsp;&&nbsp;<span style="color: #FF33FF;">@MON</span>&nbsp;&&nbsp;"-"&nbsp;&&nbsp;<span style="color: #FF33FF;">@MDAY</span>,&nbsp;450,&nbsp;583,&nbsp;150,&nbsp;17)<BR><span style="color: #000090;">GUICtrlCreateLabel</span>("By:水木子",&nbsp;720,&nbsp;583,&nbsp;80,&nbsp;17)<BR>&nbsp;<BR><span style="color: #000090;">Read</span>()<BR><span style="color: #000090;">Readall</span>()<span style="color: #009933;">;皮肤</span><span style="color: #009933;"></span><BR><span style="color: #000090;">Skin</span>(<span style="color: #000090;">IniRead</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'Skin',&nbsp;'Default',&nbsp;''))<BR><span style="color: #000090;">GUISetState</span>()<span style="color: #009933;">;调整窗口的状态.</span><span style="color: #009933;"></span><BR><span style="color: #000090;">_ReduceMemory</span>(<span style="color: #FF33FF;">@AutoItPID</span>)<BR>&nbsp;<BR><span style="color: #0000FF;">While</span>&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #AA0000;">$nMsg</span>&nbsp;=&nbsp;<span style="color: #000090;">GUIGetMsg</span>()&nbsp;<span style="color: #009933;">;捕获窗口消息.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Switch</span>&nbsp;<span style="color:#AA0000;">$nMsg</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;-3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUIDelete</span>(<span style="color:#AA0000;">$MyGui</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Exit</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$But0</span>&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color:#AA0000;">$But5</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iControlID</span>&nbsp;=&nbsp;<span style="color:#AA0000;">$nMsg</span>&nbsp;-&nbsp;15<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$iPage</span>&nbsp;&lt;&gt;&nbsp;<span style="color:#AA0000;">$iControlID</span>&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Switcha</span>(<span style="color:#AA0000;">$iPage</span>,&nbsp;<span style="color:#AA0000;">$avArray</span>[$iControlID])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iPage</span>&nbsp;=&nbsp;<span style="color:#AA0000;">$iControlID</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Switchb</span>(<span style="color:#AA0000;">$iControlID</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$Buta</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">AddItem</span>(<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$Combo1</span>),&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$Input1</span>),&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$Input2</span>))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetData</span>(<span style="color:#AA0000;">$Input1</span>,&nbsp;'')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetData</span>(<span style="color:#AA0000;">$Input2</span>,&nbsp;'')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$Butb</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$Folder</span>&nbsp;=&nbsp;<span style="color: #000090;">FileOpenDialog</span>("查找",&nbsp;'',&nbsp;"可执行文件(*.*)")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;Not&nbsp;<span style="color: #FF33FF;">@error</span>&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color: #000090;">GUICtrlSetData</span>(<span style="color:#AA0000;">$Input1</span>,&nbsp;<span style="color:#AA0000;">$Folder</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$Radio1</span>&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color:#AA0000;">$Radio4</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetView</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color:#AA0000;">$nMsg</span>&nbsp;-&nbsp;21)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;-13<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$i</span>&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color: #000090;">UBound</span>(<span style="color:#AA0000;">$aDroppedFiles</span>)&nbsp;-&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$SoftwareName</span>&nbsp;=&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$aDroppedFiles</span>[$i],&nbsp;'.+\\|\.\w+$',&nbsp;'')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">AddItem</span>(<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$Combo1</span>),&nbsp;<span style="color:#AA0000;">$aDroppedFiles</span>[$i],&nbsp;<span style="color:#AA0000;">$SoftwareName</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Next</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSendMsg</span>(<span style="color: #AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color: #AA0000;">$LVM_SETCOLUMNWIDTH</span>,&nbsp;0,&nbsp;-1)&nbsp;<span style="color: #009933;">;发送一个消息到控件.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndSwitch</span><BR><span style="color: #0000FF;">WEnd</span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">WM_NOTIFY</span>(<span style="color:#AA0000;">$hWnd</span>,&nbsp;<span style="color:#AA0000;">$iMsg</span>,&nbsp;<span style="color:#AA0000;">$iwParam</span>,&nbsp;<span style="color:#AA0000;">$ilParam</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Switch</span>&nbsp;<span style="color:#AA0000;">$iwParam</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$hListView</span>[0]&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color:#AA0000;">$hListView</span>[5]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$tBuffer</span>&nbsp;=&nbsp;<span style="color: #000090;">DllStructCreate</span>(<span style="color:#AA0000;">$tagNMHDR</span>,&nbsp;<span style="color:#AA0000;">$ilParam</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Switch</span>&nbsp;<span style="color: #000090;">DllStructGetData</span>(<span style="color:#AA0000;">$tBuffer</span>,&nbsp;'Code')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$NM_DBLCLK</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">RunProgram</span>(1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$NM_RCLICK</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iMenuIndex</span>&nbsp;=&nbsp;<span style="color: #000090;">Number</span>(<span style="color:#AA0000;">$iwParam</span>&nbsp;-&nbsp;<span style="color:#AA0000;">$hListView</span>[0]&nbsp;+&nbsp;1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$hMenu</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlGetHandle</span>(<span style="color:#AA0000;">$iMenu</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_SetMenuStatus</span>(<span style="color:#AA0000;">$hListView</span>[<span style="color:#AA0000;">$iMenuIndex</span>&nbsp;-&nbsp;1],&nbsp;<span style="color:#AA0000;">$hMenu</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$iMenuId</span>&nbsp;=&nbsp;<span style="color: #000090;">_GUICtrlMenu_TrackPopupMenu</span>(<span style="color:#AA0000;">$hMenu</span>,&nbsp;<span style="color:#AA0000;">$MyGui</span>,&nbsp;-1,&nbsp;-1,&nbsp;1,&nbsp;1,&nbsp;2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Switch</span>&nbsp;<span style="color:#AA0000;">$iMenuId</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem1</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">RunProgram</span>(1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem2</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">RunProgram</span>(2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem3</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Refresh</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem4</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Rename</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem5</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Delete</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem6</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iBkColor</span>&nbsp;=&nbsp;<span style="color: #000090;">_ChooseColor</span>(0,&nbsp;255,&nbsp;0,&nbsp;<span style="color:#AA0000;">$MyGui</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$iBkColor</span>&nbsp;&lt;&gt;&nbsp;-1&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_BeginUpdate</span>(<span style="color:#AA0000;">$hListView</span>[$iPage])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetBkColor</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color:#AA0000;">$iBkColor</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetTextBkColor</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color:#AA0000;">$iBkColor</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_EndUpdate</span>(<span style="color:#AA0000;">$hListView</span>[$iPage])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">IniWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'BkColor',&nbsp;<span style="color:#AA0000;">$hListView</span>[$iPage]&nbsp;-&nbsp;3,&nbsp;<span style="color:#AA0000;">$iBkColor</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem7</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$nTextColor</span>&nbsp;=&nbsp;<span style="color: #000090;">_ChooseColor</span>(0,&nbsp;255,&nbsp;0,&nbsp;<span style="color:#AA0000;">$MyGui</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$nTextColor</span>&nbsp;&lt;&gt;&nbsp;-1&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetTextColor</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color:#AA0000;">$nTextColor</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">IniWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'BkColor',&nbsp;'TextColor',&nbsp;<span style="color:#AA0000;">$nTextColor</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iMenuItem8</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">MsgBox</span>(32&nbsp;+&nbsp;1,&nbsp;'恢复颜色值',&nbsp;'你确定要恢复当页颜色值吗?')&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetTextColor</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;12615680)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_BeginUpdate</span>(<span style="color:#AA0000;">$hListView</span>[$iPage])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetBkColor</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color:#AA0000;">$CLR_MONEYGREEN</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetTextBkColor</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color:#AA0000;">$CLR_MONEYGREEN</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetOutlineColor</span>(<span style="color:#AA0000;">$hListView</span>[$iPage],&nbsp;<span style="color:#AA0000;">$CLR_MONEYGREEN</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_EndUpdate</span>(<span style="color:#AA0000;">$hListView</span>[$iPage])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">IniWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'BkColor',&nbsp;<span style="color:#AA0000;">$hListView</span>[$iPage]&nbsp;-&nbsp;3,&nbsp;'12639424')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">IniWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'BkColor',&nbsp;'TextColor',&nbsp;'12615680')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndSwitch</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndSwitch</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$tBuffer</span>&nbsp;=&nbsp;0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndSwitch</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;WM_NOTIFY</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #F000FF;">Func</span>&nbsp;<span style="color: #000090;">Readall</span>()&nbsp;<span style="color: #009933;">;皮肤</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_BeginUpdate</span>(<span style="color:#AA0000;">$hListView</span>[0])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_DeleteAllItems</span>(<span style="color:#AA0000;">$hListView</span>[0])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$i</span>&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color: #000090;">UBound</span>(<span style="color:#AA0000;">$avArray</span>)&nbsp;-&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iNumber</span>&nbsp;=&nbsp;<span style="color: #000090;">IniReadSection</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;<span style="color:#AA0000;">$avArray</span>[$i])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;Not&nbsp;<span style="color: #FF33FF;">@error</span>&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$ii</span>&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color:#AA0000;">$iNumber</span>[0][0]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">CreateGroup</span>(<span style="color:#AA0000;">$hListView</span>[0],&nbsp;<span style="color:#AA0000;">$i</span>,&nbsp;<span style="color:#AA0000;">$avArray</span>[$i],&nbsp;<span style="color:#AA0000;">$iNumber</span>[$ii][1],&nbsp;<span style="color:#AA0000;">$iNumber</span>[$ii][0])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Next</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Next</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_EndUpdate</span>(<span style="color:#AA0000;">$hListView</span>[0])<BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Readall</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Read</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$i</span>&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color: #000090;">UBound</span>(<span style="color:#AA0000;">$avArray</span>)&nbsp;-&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_BeginUpdate</span>(<span style="color:#AA0000;">$hListView</span>[$i])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_DeleteAllItems</span>(<span style="color:#AA0000;">$hListView</span>[$i])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iNumber</span>&nbsp;=&nbsp;<span style="color: #000090;">IniReadSection</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;<span style="color:#AA0000;">$avArray</span>[$i])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;Not&nbsp;<span style="color: #FF33FF;">@error</span>&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$ii</span>&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color:#AA0000;">$iNumber</span>[0][0]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">CreateGroup</span>(<span style="color:#AA0000;">$hListView</span>[$i],&nbsp;1,&nbsp;<span style="color:#AA0000;">$avArray</span>[$i],&nbsp;<span style="color:#AA0000;">$iNumber</span>[$ii][1],&nbsp;<span style="color:#AA0000;">$iNumber</span>[$ii][0])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Next</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_EndUpdate</span>(<span style="color:#AA0000;">$hListView</span>[$i])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Next</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Read</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">RunProgram</span>(<span style="color:#AA0000;">$iEvent</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iItemIndex</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$hListView</span>[$iPage])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sItemText</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color: #000090;">Number</span>(<span style="color:#AA0000;">$iItemIndex</span>))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;(<span style="color:#AA0000;">$iItemIndex</span>)&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sFileText</span>&nbsp;=&nbsp;<span style="color: #000090;">FileRead</span>(<span style="color:#AA0000;">$sConfigPath</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$aSoftPath</span>&nbsp;=&nbsp;<span style="color: #000090;">StringRegExp</span>(<span style="color:#AA0000;">$sFileText</span>,&nbsp;'(?&lt;='&nbsp;&&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$sItemText</span>,&nbsp;<span style="color:#AA0000;">$sConversion</span>,&nbsp;'\\$1')&nbsp;&&nbsp;'=)'&nbsp;&&nbsp;'[^\r]+',&nbsp;3)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sWorkPath</span>&nbsp;=&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$aSoftPath</span>[0],&nbsp;'(?&lt;=\\)[^\\]+$',&nbsp;'')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$iEvent</span>&nbsp;=&nbsp;2&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color: #000090;">ShellExecute</span>(<span style="color:#AA0000;">$sWorkPath</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$iEvent</span>&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color: #000090;">ShellExecute</span>(<span style="color:#AA0000;">$aSoftPath</span>[0],&nbsp;'',&nbsp;<span style="color:#AA0000;">$sWorkPath</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;RunProgram</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Refresh</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Read</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Readall</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #AA0000;">$sFileText</span>&nbsp;=&nbsp;<span style="color: #000090;">FileRead</span>(<span style="color: #AA0000;">$sConfigPath</span>)&nbsp;<span style="color: #009933;">;从此前已打开的文本文件中读取指定数量的字符.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;(<span style="color:#AA0000;">$sFileText</span>)&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #AA0000;">$handle</span>&nbsp;=&nbsp;<span style="color: #000090;">FileOpen</span>(<span style="color: #AA0000;">$sConfigPath</span>,&nbsp;2)<span style="color: #009933;">;打开指定的文件以供读写.  2 = 写入模式(先删除之前的内容)</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">FileClose</span>(<span style="color:#AA0000;">$handle</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">FileWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$sFileText</span>,&nbsp;'^\v+|\r?\n(?=\r?\n)|\r?\n$',&nbsp;''))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Refresh</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #F000FF;">Func</span>&nbsp;<span style="color: #000090;">Rename</span>()&nbsp;<span style="color: #009933;">;检查是否已经载入软件快捷方式</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iItemIndex</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$hListView</span>[$iPage])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sItemText</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color: #000090;">Number</span>(<span style="color:#AA0000;">$iItemIndex</span>))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sNewName</span>&nbsp;=&nbsp;<span style="color: #000090;">InputBox</span>('重命名',&nbsp;'原文件名:'&nbsp;&&nbsp;<span style="color:#AA0000;">$sItemText</span>&nbsp;&&nbsp;<span style="color: #FF33FF;">@CRLF</span>&nbsp;&&nbsp;<span style="color: #FF33FF;">@CRLF</span>&nbsp;&&nbsp;'请输入新的名称!',&nbsp;<span style="color:#AA0000;">$sItemText</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;(<span style="color:#AA0000;">$sNewName</span>)&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">Detect</span>(<span style="color:#AA0000;">$sNewName</span>)&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">MsgBox</span>(48,&nbsp;'提示!',&nbsp;<span style="color:#AA0000;">$sNewName</span>&nbsp;&&nbsp;':已经存在,为避免出错,请勿重复设置!')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetData</span>(<span style="color:#AA0000;">$iItemIndex</span>,&nbsp;<span style="color:#AA0000;">$sNewName</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sFileText</span>&nbsp;=&nbsp;<span style="color: #000090;">FileRead</span>(<span style="color:#AA0000;">$sConfigPath</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$handle</span>&nbsp;=&nbsp;<span style="color: #000090;">FileOpen</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">FileClose</span>(<span style="color:#AA0000;">$handle</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sReplace</span>&nbsp;=&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$sFileText</span>,&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$sItemText</span>,&nbsp;<span style="color:#AA0000;">$sConversion</span>,&nbsp;'\\$1')&nbsp;&&nbsp;'=',&nbsp;<span style="color:#AA0000;">$sNewName</span>&nbsp;&&nbsp;'=')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">FileWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;<span style="color:#AA0000;">$sReplace</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$iPage</span>&nbsp;=&nbsp;0&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Read</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Readall</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Rename</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Delete</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iItemIndex</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$hListView</span>[$iPage])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sItemText</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color: #000090;">Number</span>(<span style="color:#AA0000;">$iItemIndex</span>))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">MsgBox</span>(32&nbsp;+&nbsp;1,&nbsp;'温馨提示!',&nbsp;'你确定要删除&nbsp;'&nbsp;&&nbsp;<span style="color:#AA0000;">$sItemText</span>&nbsp;&&nbsp;'&nbsp;吗?')&nbsp;=&nbsp;1&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$sText</span>&nbsp;=&nbsp;<span style="color: #000090;">FileRead</span>(<span style="color:#AA0000;">$sConfigPath</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlDelete</span>(<span style="color:#AA0000;">$iItemIndex</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$handle</span>&nbsp;=&nbsp;<span style="color: #000090;">FileOpen</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">FileClose</span>(<span style="color:#AA0000;">$handle</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">FileWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$sText</span>,&nbsp;'(?i)'&nbsp;&&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$sItemText</span>,&nbsp;<span style="color:#AA0000;">$sConversion</span>,&nbsp;'\\$1')&nbsp;&&nbsp;'=[a-z]:\\.+\r?\n?',&nbsp;''))<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$iPage</span>&nbsp;=&nbsp;0&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Read</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Readall</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Delete</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #F000FF;">Func</span>&nbsp;<span style="color: #000090;">AddItem</span>(<span style="color: #AA0000;">$SoftwareType</span>,&nbsp;<span style="color: #AA0000;">$SoftwarePath</span>,&nbsp;<span style="color: #AA0000;">$SoftwareName</span>&nbsp;=&nbsp;'')&nbsp;<span style="color: #009933;">;读取快捷方式</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$SoftwarePath</span>&nbsp;=&nbsp;''&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color: #0000FF;">Return</span>&nbsp;<span style="color: #000090;">MsgBox</span>(48,&nbsp;'提示!',&nbsp;'请设置程序所在目录!')<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">StringRegExp</span>(<span style="color:#AA0000;">$SoftwarePath</span>,&nbsp;'\.lnk')&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #AA0000;">$aShortcut</span>&nbsp;=&nbsp;<span style="color: #000090;">FileGetShortcut</span>(<span style="color: #AA0000;">$SoftwarePath</span>)&nbsp;<span style="color: #009933;">;获取指定快捷方式的各种属性.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$SoftwarePath</span>&nbsp;=&nbsp;<span style="color:#AA0000;">$aShortcut</span>[0]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$SoftwareName</span>&nbsp;=&nbsp;''&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color:#AA0000;">$SoftwareName</span>&nbsp;=&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$SoftwarePath</span>,&nbsp;'.+\\|\.\w+$',&nbsp;'')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">Detect</span>(<span style="color:#AA0000;">$SoftwareName</span>)&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color: #0000FF;">Return</span>&nbsp;<span style="color: #000090;">MsgBox</span>(48,&nbsp;'提示!',&nbsp;<span style="color:#AA0000;">$SoftwareName</span>&nbsp;&&nbsp;':已经存在,为避免出错,请勿重复设置!')<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Switch</span>&nbsp;<span style="color:#AA0000;">$SoftwareType</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$avArray</span>[1]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iGroupID</span>&nbsp;=&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$avArray</span>[2]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iGroupID</span>&nbsp;=&nbsp;2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$avArray</span>[3]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iGroupID</span>&nbsp;=&nbsp;3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$avArray</span>[4]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iGroupID</span>&nbsp;=&nbsp;4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$avArray</span>[5]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$iGroupID</span>&nbsp;=&nbsp;5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndSwitch</span><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">CreateGroup</span>(<span style="color:#AA0000;">$hListView</span>[0],&nbsp;<span style="color:#AA0000;">$iGroupID</span>,&nbsp;<span style="color:#AA0000;">$SoftwareType</span>,&nbsp;<span style="color:#AA0000;">$SoftwarePath</span>,&nbsp;<span style="color:#AA0000;">$SoftwareName</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">CreateGroup</span>(<span style="color:#AA0000;">$hListView</span>[$iGroupID],&nbsp;1,&nbsp;<span style="color:#AA0000;">$SoftwareType</span>,&nbsp;<span style="color:#AA0000;">$SoftwarePath</span>,&nbsp;<span style="color:#AA0000;">$SoftwareName</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">IniWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;<span style="color:#AA0000;">$SoftwareType</span>,&nbsp;<span style="color:#AA0000;">$SoftwareName</span>,&nbsp;<span style="color:#AA0000;">$SoftwarePath</span>)<BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;AddItem</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">CreateGroup</span>(<span style="color:#AA0000;">$hWnd</span>,&nbsp;<span style="color:#AA0000;">$iGroupID</span>,&nbsp;<span style="color:#AA0000;">$sGroupText</span>,&nbsp;<span style="color:#AA0000;">$sFilePath</span>,&nbsp;<span style="color:#AA0000;">$sFileName</span>&nbsp;=&nbsp;'')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;函数功能:在指定分组中添加项目</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;参数说明</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;参数1:控件句柄</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;参数2:组编号</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;参数3:组文本</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;参数4:文件路径</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;参数5:文件名(可选)</span><span style="color: #009933;"></span><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlCreateListViewItem</span>(<span style="color:#AA0000;">$sFileName</span>,&nbsp;<span style="color:#AA0000;">$hWnd</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">StringRegExp</span>(<span style="color:#AA0000;">$sFilePath</span>,&nbsp;'(?i)[a-z]:\\.+\.\w+$')&nbsp;=&nbsp;0&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetImage</span>(-1,&nbsp;'shell32.dll',&nbsp;4)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ElseIf&nbsp;<span style="color: #000090;">StringRegExp</span>(<span style="color:#AA0000;">$sFilePath</span>,&nbsp;'(?i)\.exe|\.ico')&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetImage</span>(-1,&nbsp;<span style="color:#AA0000;">$sFilePath</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetImage</span>(-1,&nbsp;<span style="color: #000090;">_WinAPI_FindExecutable</span>(<span style="color: #AA0000;">$sFilePath</span>))<span style="color: #009933;">;检索与指定文件名相关联的可执行文件的名称</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #AA0000;">$iNumber</span>&nbsp;=&nbsp;<span style="color: #000090;">_GUICtrlListView_GetCounterPage</span>(<span style="color: #AA0000;">$hWnd</span>)&nbsp;-&nbsp;1&nbsp;&nbsp;<span style="color: #009933;">;计算在可视区域中,垂直显示的项目数量.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_EnableGroupView</span>(<span style="color: #AA0000;">$hWnd</span>)<span style="color: #009933;">;启用或禁用控件项目分组</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_InsertGroup</span>(<span style="color: #AA0000;">$hWnd</span>,&nbsp;-1,&nbsp;<span style="color: #AA0000;">$iGroupID</span>,&nbsp;<span style="color: #AA0000;">$sGroupText</span>&nbsp;&&nbsp;'&nbsp;')&nbsp;<span style="color: #009933;">;插入组</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_GUICtrlListView_SetItemGroupID</span>(<span style="color: #AA0000;">$hWnd</span>,&nbsp;<span style="color: #AA0000;">$iNumber</span>,&nbsp;<span style="color: #AA0000;">$iGroupID</span>)<span style="color: #009933;">;设置项目组 ID</span><span style="color: #009933;"></span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;CreateGroup</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Switcha</span>(<span style="color:#AA0000;">$hWnd</span>,&nbsp;<span style="color:#AA0000;">$Type</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetData</span>(<span style="color: #AA0000;">$hType</span>,&nbsp;<span style="color: #AA0000;">$Type</span>)<span style="color: #009933;">;$hType = GUICtrlCreateLabel($avArray[0], 70, 583, 60, 17)</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$Type</span>&nbsp;&lt;&gt;&nbsp;<span style="color:#AA0000;">$avArray</span>[0]&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color: #000090;">GUICtrlSetData</span>(<span style="color:#AA0000;">$Combo1</span>,&nbsp;<span style="color:#AA0000;">$Type</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">ControlMove</span>(<span style="color: #AA0000;">$MyGui</span>,&nbsp;'',&nbsp;<span style="color: #AA0000;">$hListView</span>[$hWnd],&nbsp;1000,&nbsp;Default)<span style="color: #009933;">;在窗口内移动控件.</span><span style="color: #009933;"></span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Switcha</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Switchb</span>(<span style="color:#AA0000;">$hWnd</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #AA0000;">$iView</span>&nbsp;=&nbsp;<span style="color: #000090;">_GUICtrlListView_GetView</span>(<span style="color: #AA0000;">$hListView</span>[$hWnd])&nbsp;<span style="color: #009933;">;检索控件的当前视图</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Select</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iView</span>&nbsp;=&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$Radio1</span>,&nbsp;1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iView</span>&nbsp;=&nbsp;2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$Radio2</span>,&nbsp;1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iView</span>&nbsp;=&nbsp;3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$Radio3</span>,&nbsp;1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Case</span>&nbsp;<span style="color:#AA0000;">$iView</span>&nbsp;=&nbsp;4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$Radio4</span>,&nbsp;1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndSelect</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">ControlMove</span>(<span style="color:#AA0000;">$MyGui</span>,&nbsp;'',&nbsp;<span style="color:#AA0000;">$hListView</span>[$hWnd],&nbsp;115,&nbsp;Default)<BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Switchb</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Detect</span>(<span style="color:#AA0000;">$sText</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">StringRegExp</span>(<span style="color: #000090;">FileRead</span>(<span style="color:#AA0000;">$sConfigPath</span>),&nbsp;'(?i)'&nbsp;&&nbsp;<span style="color: #000090;">StringRegExpReplace</span>(<span style="color:#AA0000;">$sText</span>,&nbsp;<span style="color:#AA0000;">$sConversion</span>,&nbsp;'\\$1')&nbsp;&&nbsp;'=[a-z]:\\')&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Return</span>&nbsp;True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Return</span>&nbsp;False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Detect</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">WM_DROPFILES</span>(<span style="color:#AA0000;">$hWnd</span>,&nbsp;<span style="color:#AA0000;">$msgID</span>,&nbsp;<span style="color:#AA0000;">$wParam</span>,&nbsp;<span style="color:#AA0000;">$lParam</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$nSize</span>,&nbsp;<span style="color:#AA0000;">$pFileName</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$nAmt</span>&nbsp;=&nbsp;<span style="color: #000090;">DllCall</span>("shell32.dll",&nbsp;"int",&nbsp;"DragQueryFile",&nbsp;"hwnd",&nbsp;<span style="color:#AA0000;">$wParam</span>,&nbsp;"int",&nbsp;0xFFFFFFFF,&nbsp;"ptr",&nbsp;0,&nbsp;"int",&nbsp;255)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$aDroppedFiles</span>&nbsp;=&nbsp;0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;<span style="color:#AA0000;">$aDroppedFiles</span>[<span style="color:#AA0000;">$nAmt</span>[0]&nbsp;+&nbsp;1]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$i</span>&nbsp;=&nbsp;0&nbsp;<span style="color: #0000FF;">To</span>&nbsp;<span style="color:#AA0000;">$nAmt</span>[0]&nbsp;-&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$nSize</span>&nbsp;=&nbsp;<span style="color: #000090;">DllCall</span>("shell32.dll",&nbsp;"int",&nbsp;"DragQueryFile",&nbsp;"hwnd",&nbsp;<span style="color:#AA0000;">$wParam</span>,&nbsp;"int",&nbsp;<span style="color:#AA0000;">$i</span>,&nbsp;"ptr",&nbsp;0,&nbsp;"int",&nbsp;0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$nSize</span>&nbsp;=&nbsp;<span style="color:#AA0000;">$nSize</span>[0]&nbsp;+&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$pFileName</span>&nbsp;=&nbsp;<span style="color: #000090;">DllStructCreate</span>("char["&nbsp;&&nbsp;<span style="color:#AA0000;">$nSize</span>&nbsp;&&nbsp;"]")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">DllCall</span>("shell32.dll",&nbsp;"int",&nbsp;"DragQueryFile",&nbsp;"hwnd",&nbsp;<span style="color:#AA0000;">$wParam</span>,&nbsp;"int",&nbsp;<span style="color:#AA0000;">$i</span>,&nbsp;"ptr",&nbsp;_<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">DllStructGetPtr</span>(<span style="color:#AA0000;">$pFileName</span>),&nbsp;"int",&nbsp;<span style="color:#AA0000;">$nSize</span>)<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$aDroppedFiles</span>[0]&nbsp;+=&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$aDroppedFiles</span>[<span style="color:#AA0000;">$aDroppedFiles</span>[0]]&nbsp;=&nbsp;<span style="color: #000090;">DllStructGetData</span>(<span style="color:#AA0000;">$pFileName</span>,&nbsp;1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$pFileName</span>&nbsp;=&nbsp;0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Next</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ReDim&nbsp;<span style="color:#AA0000;">$aDroppedFiles</span>[<span style="color:#AA0000;">$aDroppedFiles</span>[0]&nbsp;+&nbsp;1]<BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;WM_DROPFILES</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">SpecialEvent</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #F000FF;">If</span>&nbsp;<span style="color: #000090;">WinGetState</span>(<span style="color: #AA0000;">$MyGui</span>)&nbsp;=&nbsp;7&nbsp;<span style="color: #F000FF;">Then</span>&nbsp;&nbsp;<span style="color: #009933;">;获取指定窗口的状态.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUISetState</span>(<span style="color: #FF33FF;">@SW_MINIMIZE</span>)<span style="color: #009933;">;@SW_MINIMIZE  最小化指定窗口并激活下一个在Z轴(垂直屏幕)方向上的顶层窗口.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUISetState</span>(<span style="color: #FF33FF;">@SW_RESTORE</span>)<span style="color: #009933;">;@SW_RESTORE  序在还原一个最小化窗口时应该应用此标志</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;SpecialEvent</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">WM_COMMAND</span>(<span style="color:#AA0000;">$hWnd</span>,&nbsp;<span style="color:#AA0000;">$iMsg</span>,&nbsp;<span style="color:#AA0000;">$iwParam</span>,&nbsp;<span style="color:#AA0000;">$ilParam</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$iCode</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #AA0000;">$iCode</span>&nbsp;=&nbsp;<span style="color: #000090;">BitShift</span>(<span style="color: #AA0000;">$iwParam</span>,&nbsp;16)&nbsp;<span style="color: #009933;">; Hi Word ;按位"移"运算.</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #F000FF;">If</span>&nbsp;<span style="color: #AA0000;">$iCode</span>&nbsp;=&nbsp;<span style="color: #AA0000;">$CBN_SELCHANGE</span>&nbsp;<span style="color: #F000FF;">Then</span><span style="color: #009933;">;组合框的列表框中的当前选项改变时发送</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$nSkin</span>&nbsp;=&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$hSkin</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$oSkin</span>&nbsp;&lt;&gt;&nbsp;<span style="color:#AA0000;">$nSkin</span>&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Skin</span>(<span style="color:#AA0000;">$nSkin</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$oSkin</span>&nbsp;=&nbsp;<span style="color:#AA0000;">$nSkin</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">IniWrite</span>(<span style="color:#AA0000;">$sConfigPath</span>,&nbsp;'Skin',&nbsp;'Default',&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$hSkin</span>))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;WM_COMMAND</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Enter</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;Not&nbsp;<span style="color: #000090;">WinActive</span>(<span style="color:#AA0000;">$MyGui</span>)&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">HotKeySet</span>('{Enter}')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">Send</span>('{Enter}')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">HotKeySet</span>('{Enter}',&nbsp;'Enter')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">RunProgram</span>(1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Enter</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Skin</span>(<span style="color:#AA0000;">$She</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#AA0000;">$hDll</span>&nbsp;=&nbsp;<span style="color: #000090;">DllOpen</span>(<span style="color: #FF33FF;">@ScriptDir</span>&nbsp;&&nbsp;'\Skin\Skin.dll')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$She</span>&nbsp;=&nbsp;'去掉皮肤'&nbsp;<span style="color: #0000FF;">Then</span>&nbsp;<span style="color: #0000FF;">Return</span>&nbsp;<span style="color: #000090;">DllCall</span>(<span style="color:#AA0000;">$hDll</span>,&nbsp;"int",&nbsp;"SkinH_Detach")<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">DllCall</span>(<span style="color:#AA0000;">$hDll</span>,&nbsp;"int",&nbsp;"SkinH_AttachEx",&nbsp;"str",&nbsp;'Skin\'&nbsp;&&nbsp;<span style="color:#AA0000;">$She</span>&nbsp;&&nbsp;'.she',&nbsp;"str",&nbsp;"mhgd")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">DllCall</span>(<span style="color:#AA0000;">$hDll</span>,&nbsp;"int",&nbsp;"SkinH_SetAero",&nbsp;"int",&nbsp;1)<BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Skin</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">Memory</span>()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">_ReduceMemory</span>(<span style="color: #FF33FF;">@AutoItPID</span>)&nbsp;<span style="color: #009933;">;@AutoItPID 当前运行脚本的进程 PID</span><span style="color: #009933;"></span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;Memory</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">_ReduceMemory</span>(<span style="color:#AA0000;">$i_PID</span>&nbsp;=&nbsp;-1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color:#AA0000;">$i_PID</span>&nbsp;&lt;&gt;&nbsp;-1&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$ai_Handle</span>&nbsp;=&nbsp;<span style="color: #000090;">DllCall</span>("kernel32.dll",&nbsp;'int',&nbsp;'OpenProcess',&nbsp;'int',&nbsp;0x1f0fff,&nbsp;'int',&nbsp;False,&nbsp;'int',&nbsp;<span style="color:#AA0000;">$i_PID</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$ai_Return</span>&nbsp;=&nbsp;<span style="color: #000090;">DllCall</span>("psapi.dll",&nbsp;'int',&nbsp;'EmptyWorkingSet',&nbsp;'long',&nbsp;<span style="color:#AA0000;">$ai_Handle</span>[0])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">DllCall</span>('kernel32.dll',&nbsp;'int',&nbsp;'CloseHandle',&nbsp;'int',&nbsp;<span style="color:#AA0000;">$ai_Handle</span>[0])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$ai_Return</span>&nbsp;=&nbsp;<span style="color: #000090;">DllCall</span>("psapi.dll",&nbsp;'int',&nbsp;'EmptyWorkingSet',&nbsp;'long',&nbsp;-1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Return</span>&nbsp;<span style="color:#AA0000;">$ai_Return</span>[0]<BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;_ReduceMemory</span><span style="color: #009933;"></span><BR>&nbsp;<BR><span style="color: #0000FF;">Func</span>&nbsp;<span style="color: #000090;">_SetMenuStatus</span>(<span style="color:#AA0000;">$hWnd</span>,&nbsp;<span style="color:#AA0000;">$hMenu</span>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">If</span>&nbsp;<span style="color: #000090;">GUICtrlRead</span>(<span style="color:#AA0000;">$hWnd</span>)&nbsp;<span style="color: #0000FF;">Then</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem1</span>,&nbsp;64)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem2</span>,&nbsp;64)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem4</span>,&nbsp;64)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem5</span>,&nbsp;64)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Else</span><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem1</span>,&nbsp;128)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem2</span>,&nbsp;128)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem4</span>,&nbsp;128)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000090;">GUICtrlSetState</span>(<span style="color:#AA0000;">$iMenuItem5</span>,&nbsp;128)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">EndIf</span><BR><span style="color: #F000FF;">EndFunc</span>&nbsp;&nbsp;&nbsp;<span style="color: #009933;">;==&gt;_SetMenuStatus</span><span style="color: #009933;"></span><BR>

转载于:https://www.cnblogs.com/civilbin1573/p/3258809.html

你可能感兴趣的文章
【Debug】IAR在线调试时报错,Warning: Stack pointer is setup to incorrect alignmentStack,芯片使用STM32F103ZET6...
查看>>
一句话说清分布式锁,进程锁,线程锁
查看>>
FastDFS使用
查看>>
服务器解析请求的基本原理
查看>>
[HDU3683 Gomoku]
查看>>
下一代操作系统与软件
查看>>
[NOIP2013提高组] CODEVS 3287 火车运输(MST+LCA)
查看>>
Python IO模型
查看>>
DataGridView的行的字体颜色变化
查看>>
局域网内手机访问电脑网站注意几点
查看>>
[Serializable]的应用--注册码的生成,加密和验证
查看>>
Android-多线程AsyncTask
查看>>
LeetCode【709. 转换成小写字母】
查看>>
CF992E Nastya and King-Shamans(线段树二分+思维)
查看>>
如果没有按照正常的先装iis后装.net的顺序,可以使用此命令重新注册一下:
查看>>
linux install ftp server
查看>>
alter database databasename set single_user with rollback IMMEDIATE 不成功问题
查看>>
WCF揭秘——使用AJAX+WCF服务进行页面开发
查看>>
【题解】青蛙的约会
查看>>
IO流
查看>>