在C#中单击图像时如何将鼠标指针更改为图像 [英] How to change the mouse pointer to an Image when clicked on it in c#

查看:213
本文介绍了在C#中单击图像时如何将鼠标指针更改为图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在c#中单击图像时如何将鼠标指针更改为图像?

How can i change the mouse pointer to an image when clicked on the image in c#?

推荐答案

问题很模糊/不清楚,但也许您想更改系统光标(而不仅仅是您的应用程序)?这是 SetSystemCursor 的pinvoke信息的链接。请注意,这被认为是错误的形式。

The question is vague/unclear but perhaps you want to change the system cursor (not just your application)? Here is a link to the pinvoke info for SetSystemCursor. Be warned this is considered bad form.

这篇关于在C#中单击图像时如何将鼠标指针更改为图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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