不卡AV在线|网页在线观看无码高清|亚洲国产亚洲国产|国产伦精品一区二区三区免费视频

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 電腦硬件知識 > 鍵盤鼠標(biāo) > 鼠標(biāo)指針I(yè)NF制作方法

鼠標(biāo)指針I(yè)NF制作方法

時間: 沈迪豪908 分享

鼠標(biāo)指針I(yè)NF制作方法

  愛學(xué)習(xí)的小伙伴們,你們知道鼠標(biāo)指針I(yè)NF制作方法嗎?不知道的話跟著學(xué)習(xí)啦小編一起來學(xué)習(xí)了解鼠標(biāo)指針I(yè)NF制作方法。

  鼠標(biāo)指針I(yè)NF制作方法詳解

  很多鼠標(biāo)指針都使用inf文件進(jìn)行安裝,我們也可以為自己制作的指針制作安裝文件,先來熟悉一下:

  ;INF文件頭,提供有效INF文件的版本信息

  ;在[Version]節(jié)中"Signature"項(xiàng)定義了該INF文件需要運(yùn)行在何種操作系統(tǒng)版本中。有$Windows NT$, $Chicago$, or $Windows 95$三個值供選擇,一般選擇$Chicago$即可

  [Version]

  signature="$CHICAGO$"

  ;安裝包含所關(guān)聯(lián)動作(文件拷貝或刪除,注冊表鍵值更新、子鍵增刪等)在INF文件內(nèi)的節(jié)名指針,默認(rèn)情況下首先執(zhí)行該節(jié)內(nèi)容

  [DefaultInstall]

  ;復(fù)制文件

  CopyFiles = Scheme.Cur, Scheme.Txt

  ;增加注冊表鍵或鍵值

  AddReg = Scheme.Reg

  ;指定羅列于一個節(jié)內(nèi)將被拷貝、刪除或重命名的文件在硬盤上的位置

  [DestinationDirs]

  ;FileList1=10 ;安裝到Windows目錄

  Scheme.Cur = 10,"%CUR_DIR%"

  Scheme.Txt = 10,"%CUR_DIR%"

  ;定義Scheme.Reg

  [Scheme.Reg]

  HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%Cross%,%10%\%CUR_DIR%\%Text%,%10%\%CUR_DIR%\%Hand%,%10%\%CUR_DIR%\%Unavailiable%,%10%\%CUR_DIR%\%Vert%,%10%\%CUR_DIR%\%Horz%,%10%\%CUR_DIR%\%Dgn1%,%10%\%CUR_DIR%\%Dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%"

  ; -- Common Information

  ;定義Scheme.Cur

  [Scheme.Cur]

  "Cursor.cur"

  "Help.cur"

  "Working.ani"

  "Busy.ani"

  "Cross.cur"

  "Beam.cur"

  "Pen.cur"

  "Unavailable.cur"

  "Size Horz.cur"

  "Size Vert.cur"

  "Resize Right.cur"

  "Resize Left.cur"

  "Resize All.cur"

  "Alternate.cur"

  "Hand.cur"

  ;定義一個或多個本地化字符串

  [Strings]

  CUR_DIR = "Cursors\Vista"

  SCHEME_NAME = "Vista"

  pointer = "Cursor.cur"

  help = "Help.cur"

  work = "Working.ani"

  busy = "Busy.ani"

  cross = "Cross.cur"

  text = "Beam.cur"

  hand = "Pen.cur"

  unavailiable = "Unavailable.cur"

  vert = "Size Horz.cur"

  horz = "Size Vert.cur"

  dgn1 = "Resize Right.cur"

  dgn2 = "Resize Left.cur"

  move = "Resize All.cur"

  alternate = "Alternate.cur"

  link = "Hand.cur"

  一個完整的inf文件,稍加改動,就可以使用了:

  [Version]

  signature="$CHICAGO$"

  [DefaultInstall]

  CopyFiles = Scheme.Cur, Scheme.Txt

  AddReg = Scheme.Reg

  [DestinationDirs]

  Scheme.Cur = 10,"%CUR_DIR%"

  Scheme.Txt = 10,"%CUR_DIR%"

  [Scheme.Reg]

  HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%Cross%,%10%\%CUR_DIR%\%Text%,%10%\%CUR_DIR%\%Hand%,%10%\%CUR_DIR%\%Unavailiable%,%10%\%CUR_DIR%\%Vert%,%10%\%CUR_DIR%\%Horz%,%10%\%CUR_DIR%\%Dgn1%,%10%\%CUR_DIR%\%Dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%"

  ; -- Common Information

  [Scheme.Cur]

  "Cursor.cur"

  "Help.cur"

  "Working.ani"

  "Busy.ani"

  "Cross.cur"

  "Beam.cur"

  "Pen.cur"

  "Unavailable.cur"

  "Size Horz.cur"

  "Size Vert.cur"

  "Resize Right.cur"

  "Resize Left.cur"

  "Resize All.cur"

  "Alternate.cur"

  "Hand.cur"

  [Strings]

  CUR_DIR = "Cursors\Vista"

  SCHEME_NAME = "Vista"

  pointer = "Cursor.cur"

  help = "Help.cur"

  work = "Working.ani"

  busy = "Busy.ani"

  cross = "Cross.cur"

  text = "Beam.cur"

  hand = "Pen.cur"

  unavailiable = "Unavailable.cur"

  vert = "Size Horz.cur"

  horz = "Size Vert.cur"

  dgn1 = "Resize Right.cur"

  dgn2 = "Resize Left.cur"

  move = "Resize All.cur"

  alternate = "Alternate.cur"

  link = "Hand.cur"用記事本另存為"安裝文件.inf",就可以使用了~

鼠標(biāo)指針I(yè)NF制作方法相關(guān)文章:

1.如何制作自定義鼠標(biāo)指針

2.鼠標(biāo)指針圖標(biāo)設(shè)置方法

3.怎么編輯鼠標(biāo)光標(biāo)的

4.ppt怎樣隱藏鼠標(biāo)指針

5.電腦鼠標(biāo)指針自定義設(shè)置

1998062