欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
如何有效修改Hta顯示的Icon圖標和Hta標題欄狀態(tài)欄圖標_網(wǎng)頁(yè)設計_中國站長(cháng)站 CHI...

如何有效修改Hta顯示的Icon圖標和Hta標題欄狀態(tài)欄圖標

因項目需求,需要制作一個(gè)客戶(hù)端工具,由于開(kāi)發(fā)時(shí)間的原因,我們選擇使用hta的方式來(lái)開(kāi)發(fā),一切進(jìn)展順利,美中不足就是hta的icon顯示圖標不太美觀(guān),更慘的是它沒(méi)有更換圖標的選項,經(jīng)過(guò)一番搜索實(shí)踐,終于改變了hta的icon顯示圖標,當然,hta的標題欄和狀態(tài)欄圖標設置就很簡(jiǎn)單了!

hta項目文件結構

【項目文件夾】

├ 【source】

│ ├ 要執行的hta文件.hta

│ └ 要給這個(gè)hta使用的icon圖標.ico

└ 【其他項目需要的目錄(與設置hta圖標無(wú)關(guān))】

設置hta的標題欄和狀態(tài)欄圖標

在hta文件的中添加如下屬性:

ICON="要給這個(gè)hta使用的icon圖標.ico"

設置hta的顯示圖標

給hta設置顯示圖標目前為止貌似都沒(méi)有直接的方式,網(wǎng)上搜索到一些方式:

exeScript

使用exeScript必須是ANSI格式才行,否則亂碼,而且轉換成exe后不能支持AJAX的后臺操作,會(huì )彈出IE窗口,失敗...

Netbox

沒(méi)有試過(guò)

WinRar

突破就是它了!

實(shí)現原理:利用WinRar的創(chuàng )建自解壓格式壓縮文件來(lái)打包hta項目包并且給創(chuàng )建后的文件添加一個(gè)ICON圖標

1.在【項目文件夾】上點(diǎn)右鍵,選擇WinRar選項中的“添加到壓縮文件”

2.在彈出的對話(huà)框【壓縮選項】中勾選“創(chuàng )建自解壓格式壓縮文件”

3.切換到【高級】選項卡,單擊“自解壓選項”

4.在【自解壓選項】對話(huà)框中進(jìn)行如下操作:

4.1 在“解壓路徑”中填寫(xiě)一個(gè)預計客戶(hù)端存在的路徑,如:c:\

4.2 在“解壓后運行”中填寫(xiě)我們那個(gè)hta文件解壓后的路徑,如:c:\項目文件夾\要執行的hta文件.hta

4.3 切換到【模式】選項卡,在“安靜模式”中選中“全部隱藏”,在“覆蓋方式”中選中“跳過(guò)已經(jīng)存在的文件”

4.4 切換到【文本和圖標】選項卡,在“從文件加載自解壓文件圖標”中點(diǎn)【瀏覽】按鈕,選擇我們要使用的hta圖標ICON文件,如:在彈出的圖標文件選擇框中打開(kāi)【項目文件夾】->【source】,然后選中“要給這個(gè)hta使用的icon圖標.ico”這個(gè)圖標

4.5 確定

5. 確定

執行完上述操作后,將會(huì )生成一個(gè)顯示著(zhù)我們要使用的圖標的exe文件,雙擊執行看看,馬上就彈出了我們要執行的那個(gè)hta文件,看它的標題欄和狀態(tài)欄圖標,也OK了,最終,蒙混過(guò)關(guān)。

如果大家發(fā)現其他更好的給hta文件更改顯示圖標的方式,還望共享學(xué)習一下!

參考:屬性介紹

該標簽需寫(xiě)入到內,寫(xiě)法形如:

 

ID="W3CGROUP"

屬性="屬性值"

>

applicationName

Sets or retrieves the name of the HTML Application (HTA).

設置或者獲取HTA的名稱(chēng)

值:自定義

border

Sets or retrieves the type of window border for the HTML Application (HTA).

設置邊框模式

值為:thick/thin/dialog/none

borderStyle

Sets or retrieves the style set for the content border within the HTML Application (HTA) window.

設置邊框樣式

值為:normal/complex/raised/static/sunken

caption

Sets or retrieves a Boolean value that indicates whether the window is set to display a title bar or caption, for the HTML Application (HTA).

是否顯示標題欄

值為yes/no

commandLine

Retrieves the argument used to launch the HTML Application (HTA).

用于獲取當前HTA應用程序的路徑

contextMenu

Sets or retrieves whether the context menu is displayed when the right mouse button is clicked.

設置或者獲取反鍵菜單是否可用

值為yes/no

icon

Sets or retrieves the name and location of the icon specified in the HTML Application (HTA).

設置HTA的圖標路徑

值為一個(gè)圖標路徑

innerBorder

Sets or retrieves whether the inside 3-D border is displayed.

是否顯示內邊框

值為yes/no

maximizeButton

Sets or retrieves a Boolean value that indicates whether a Maximize button is displayed in the title bar of the HTML Application (HTA) window.

是否顯示最大化按鈕

值為yes/no

minimizeButton

Sets or retrieves a Boolean value that indicates whether a Minimize button is displayed in the title bar of the HTML Application (HTA) window.

是否顯示最小化按鈕

值為yes/no

navigable

Sets or retrieves whether linked documents will be loaded in the main HTA window or in a new browser window.

設置HTA程序中的鏈接是在瀏覽器中打開(kāi),還是

在當前窗口打開(kāi).

值為yes/no

scroll

Sets or retrieves whether the scroll bars are displayed.

是否顯示滾動(dòng)條

值為yes/no/auto

scrollFlat

Sets or retrieves whether the scroll bar is 3-D or flat.

設置滾動(dòng)條是3D樣式的,還是2D平板樣式

值為yes/no

selection

Sets or retrieves whether the content can be selected with the mouse or keyboard.

設置HTA中的文字是否可選

值為yes/no

showInTaskBar

Sets or retrieves a value that indicates whether the HTML Application (HTA) is displayed in the Windows taskbar.

設置HTA是否顯示在任務(wù)欄上

值為yes/no

singleInstance

Sets or retrieves a value that indicates whether only one instance of the specified HTML Application (HTA) can run at a time.

設置同一個(gè)HTA能否以多窗口模式打開(kāi)

值為yes/no

sysMenu

Sets or retrieves a Boolean value that indicates whether a system menu is displayed in the HTML Application (HTA).

設置是否顯示系統的幾個(gè)按鈕,最大化,最小化

值為yes/no

version

Sets or retrieves the version number of the HTML Application (HTA).

設置HTA版本信息

windowState

Sets or retrieves the initial size of the HTA window.

設置HTA打開(kāi)時(shí)的模式

值為normal/maximize/minimize

本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
1.4 標題欄 圖像窗口狀態(tài)欄
HTA窗口
VBA常用代碼解析(第十六講)
Qt 標題欄(標題、圖標)設置
VS2010 更改MFC標題欄圖標和生成的執行文件圖標
Fluid app: 把任意網(wǎng)頁(yè)做成獨立程序 可以在狀態(tài)欄顯示
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久