请问怎样将windows的鼠标指针替换掉?

biihc2000 2001-06-05 05:09:00
我用了几个api函数都不理想,请高手指教!
...全文
108 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
「已注销」 2001-06-05
  • 打赏
  • 举报
回复
我曾经看过替换声音的例子
可惜当时我不感冒
没记住
哎……

桌面当前主题文件保存在什么地方
桌面主题是什么格式
搞懂了这些
我想就简单啦


@_@
biihc2000 2001-06-05
  • 打赏
  • 举报
回复
是啊,我是想做成象桌面主题的那种效果,将系统指针都替换掉,使之为系统所有程序所共用,请猪大哥,叶老大等想办法帮我。
我用api函数SetSystemCursor将其中一个指针替换了,但当我结束我的程序时,就发生系统出错,最后不得不重启。
请各位不惜赐教!
wjzhuang 2001-06-05
  • 打赏
  • 举报
回复
这是你提的问题?那好奇怪呀~~~~~~~
名字不是你耶......
「已注销」 2001-06-05
  • 打赏
  • 举报
回复
从桌面主题入手如何
dyydyy 2001-06-05
  • 打赏
  • 举报
回复
这是怎么啦, 系统老是将我的问题转换成别人的问题.本人强烈抗议!
wjzhuang 2001-06-05
  • 打赏
  • 举报
回复
step1 :
制作自己得mouse资源(res文件),然后:
step2:
const TCursor crMyCustomCursor=1; // ID for custom cursor

__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
// load the cursor into the array.
// "CURSOR1" is the string identifer set using the Image Editor
Screen->Cursors[crMyCustomCursor]=LoadCursor((void*) HInstance,"CURSOR1");
}

Step 3: Assign the new cursor the to Screen->Cursor property whenever you want it to be the mouse cursor.

Screen->Cursor = crMyCustomCursor;

还有一个api函数,我没用过
ShowCursor()

13,825

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder相关内容讨论区
社区管理员
  • 基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧