杉宫竹苑工作室

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2020|回复: 0

NSIS 鼠标图标

[复制链接]
发表于 2017-2-26 11:40:29 | 显示全部楼层 |阅读模式

正式会员享受无限制浏览网站功能和高速网盘下载,赶快加入本站吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

x
  1. ;                       需要SetCursor.dll实现

  2. !include MUI.nsh

  3. OutFile SetCursorMUI.exe

  4. # Pages...
  5. !define MUI_COMPONENTSPAGE_NODESC
  6. !insertmacro MUI_PAGE_WELCOME
  7. !insertmacro MUI_PAGE_COMPONENTS
  8. !insertmacro MUI_PAGE_INSTFILES
  9. !insertmacro MUI_PAGE_FINISH

  10. # Languages...
  11. !insertmacro MUI_LANGUAGE English

  12. # Test sections!
  13. SectionGroup /e "System Cursors"

  14. Section "APPSTARTING Cursor"

  15.   SetCursor::System APPSTARTING
  16.   Sleep 3000
  17.   SetCursor::System NORMAL

  18. SectionEnd

  19. Section "ARROW Cursor"

  20.   SetCursor::System ARROW
  21.   Sleep 3000
  22.   SetCursor::System NORMAL

  23. SectionEnd

  24. Section "CROSS Cursor"

  25.   SetCursor::System CROSS
  26.   Sleep 3000
  27.   SetCursor::System NORMAL

  28. SectionEnd

  29. Section "HAND Cursor"

  30.   SetCursor::System HAND
  31.   Sleep 3000
  32.   SetCursor::System NORMAL

  33. SectionEnd

  34. Section "HELP Cursor"

  35.   SetCursor::System HELP
  36.   Sleep 3000
  37.   SetCursor::System NORMAL

  38. SectionEnd

  39. Section "IBEAM Cursor"

  40.   SetCursor::System IBEAM
  41.   Sleep 3000
  42.   SetCursor::System NORMAL

  43. SectionEnd

  44. Section "NO Cursor"

  45.   SetCursor::System NO
  46.   Sleep 3000
  47.   SetCursor::System NORMAL

  48. SectionEnd

  49. Section "SIZE Cursor"

  50.   SetCursor::System SIZE
  51.   Sleep 3000
  52.   SetCursor::System NORMAL

  53. SectionEnd

  54. Section "WAIT Cursor"

  55.   SetCursor::System WAIT
  56.   Sleep 3000
  57.   SetCursor::System NORMAL

  58. SectionEnd

  59. SectionGroupEnd

  60. SectionGroup /e "Custom Cursors"

  61. Section "Stop Watch Cursor"

  62.   SetOutPath $EXEDIR
  63.   SetCursor::File "$EXEDIR\stopwtch.ani"
  64.   Sleep 3000
  65.   SetCursor::System NORMAL

  66. SectionEnd

  67. Section "Green Arrow Cursor"

  68.   SetOutPath $EXEDIR
  69.   SetCursor::File "$EXEDIR\Arrow.green.cur"
  70.   Sleep 3000
  71.   SetCursor::System NORMAL

  72. SectionEnd

  73. Section "Red Hand Cursor"

  74.   SetOutPath $EXEDIR
  75.   SetCursor::File "$EXEDIR\Hand.red.cur"
  76.   Sleep 3000
  77.   SetCursor::System NORMAL

  78. SectionEnd

  79. SectionGroupEnd

  80. Section "Set Position: 99, 200"

  81. SetCursor::Position 99 200

  82. SectionEnd
复制代码


http://nsis.sourceforge.net/File:SetCursor.zip
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SgzyStudio

GMT+8, 2024-5-19 15:32 , Processed in 0.109455 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表