鼠标拖动时如何调整面板组件的大小 [英] How to resize the panel component,when mouse draging

查看:66
本文介绍了鼠标拖动时如何调整面板组件的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在拖动鼠标时调整面板的大小.当鼠标移动到面板的最后一行时,光标将变成一个向上和向下的符号,然后按住鼠标左键并拖动以调整面板的大小.请给我代码或示例!

谢谢!

I want resize a panel''s size when mouse draging. When mouse move at the endline of the panel then the cursor become a up-and-down sign, and then left mouse pressing and draging to resize the panel''s size. Please give me the code or an example!

Thanks!

推荐答案

如果您已经按照惯例应该在代码项目中的此处搜索过文章,那么在问您的问题之前,您可能已经找到了 ^ ].

您还应该在网上搜索,因为那里有大量示例.

祝你好运. :)
If you had searched the Articles here on The Code Project, as you are supposed to do, before asking your question you might have found this[^].

You should also search the web as there are loads of examples out there.

Good luck. :)


这篇关于鼠标拖动时如何调整面板组件的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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