默认光标/小时玻璃 [英] Default Cursor/Hour Glass

查看:79
本文介绍了默认光标/小时玻璃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Pocket PC 2003中,有没有以编程方式替换默认光标/小时玻璃更有吸引力/更无聊的东西?

解决方案


尝试使用WinAPI SetCursor LoadCursor ,并使用光标名称作为参数。

例如

如果我想显示忙碌图标(忙轮),我将写下以下声明:


 SetCursor(LoadCursor(NULL,IDC_WAIT)); 


一旦使用结束,不要忘记停止光标。请执行以下操作。


 SetCursor(NULL); 

希望这有帮助。


问候,
Himanshu


------------------------ -------------------------------------------------- ---------------------------------
如果对您有用,请将答案标记为有用。它有助于我们的社区。



Is there a away to programatically replace the default cursor/hour glass with something more attractive/less boring in Pocket PC 2003?

解决方案

Hi,

Try using WinAPI SetCursor and LoadCursor with the name of the cursor as the argument.

For e.g.

If i want to show the busy icon (busy wheel), I will write the following statement:

SetCursor(LoadCursor(NULL,IDC_WAIT));

Do not forget to stop the cursor once the use is over. Do the following for that.

SetCursor(NULL);

Hope this helps.

Regards,
Himanshu

-----------------------------------------------------------------------------------------------------------
Mark the answer as helpful if it was useful to you. It helps our community.



这篇关于默认光标/小时玻璃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆