社区
C#
帖子详情
Drag and Drop 时候的Cursor 怎么设置
axbin
2007-09-07 02:20:42
把文件夹中的一个文件向桌面拖动的时候,鼠标指针右下角会出现一个加号+,不管什么样鼠标主题,加号+总是会出现。我觉得可能是程序临时创建的Cursor。C# 中,实现DragDrop的时候,这个加号+怎么实现
请高手帮忙!不胜感激!
...全文
305
3
打赏
收藏
Drag and Drop 时候的Cursor 怎么设置
把文件夹中的一个文件向桌面拖动的时候,鼠标指针右下角会出现一个加号+,不管什么样鼠标主题,加号+总是会出现。我觉得可能是程序临时创建的Cursor。C# 中,实现DragDrop的时候,这个加号+怎么实现 请高手帮忙!不胜感激!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
axbin
2007-09-25
打赏
举报
回复
看来没有人回答了
axbin
2007-09-08
打赏
举报
回复
OnDragOver只有在控件的上面才起作用,移出了控件范围以后怎么设置,就像离开文件夹到桌面上以后,虽然GiveFeedBack可以是设置Cursor,但是只能选择Cursors枚举之一,不能自定义
北京的雾霾天
2007-09-07
打赏
举报
回复
鼠标的样式是跟据拖动类型自己来默认设置的。比如:
protected override void OnDragOver(DragEventArgs drgevent)
{
base.OnDragOver(drgevent);
drgevent.Effect = DragDropEffects.Move;//是移动光标
drgevent.Effect = DragDropEffects.Copy;//是Copy的光标等等。
}
ModelMaker.Code.Explorer.v8.0.0.1877.part1
As a Refactoring Editor, it makes changing code easy and fast: Classes and members can be created and modified through
drag
and
drop
or by selecting options in dedicated dialogs. You to Refactor, edit...
ModelMaker.Code.Explorer.v8.0.0.1877.part2
As a Refactoring Editor, it makes changing code easy and fast: Classes and members can be created and modified through
drag
and
drop
or by selecting options in dedicated dialogs. You to Refactor, edit...
Senfore_
Drag
Drop
_v4.1
Drag
and
Drop
Component Suite Version 4.1 Field test 5, released 16-dec-2001 ?1997-2001 Angus Johnson & Anders Melander http://www.melander.dk/delphi/
drag
drop
/ ---------------------------------------...
MMX_Setup_15_0_20_2385.zip
Classes and members can be created and modified through
drag
and
drop
or by selecting options in dedicated dialogs. You to Refactor, edit, correct and delete existing classes and members just as easy ...
jquery操作asp.net中GridView方法
用户可通过:...
Drag
and
Drop
GridView rows using jQuery Highlight GridView Rows when Checkbox is checked in ASP.NET Check/uncheck checkboxes in Asp.net GridView using jQuery
C#
110,536
社区成员
642,578
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章