自定义绘制轨道栏 [英] Custom Drawn Trackbars

查看:76
本文介绍了自定义绘制轨道栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用MS Paint绘制轨迹栏(background.bmp)然后单独绘制(thumb.bmp) - 然后我将背景放入图片​​框或面板 - 如何移动拇指向上/在图片框或面板中向下和向左/向右? (使用鼠标)

或者只是在表格背景上移动拇指? - 请



VB 2010 E - .NET 4.5 - MS-Paint - Winxp



我找到了关于这一点的一些信息 - 但是我找到的信息没有回答这个问题,所以如果有人可以提供代码样本或关于这个问题的建议,我将不胜感激 - 谢谢你

解决方案

作为一篇文章,它很糟糕,但有一个如何拥有轨迹栏的例子这里CP [ ^ ]

If I use MS Paint to draw a track-bar ( background.bmp ) and then a separate ( thumb.bmp ) - Then I put the background into a picture box or Panel - how can I move the thumb - up/down and left/right in the picture box or Panel ? (using the mouse)
Or just move the thumb on the form background ? - please

VB 2010 E - .NET 4.5 - MS-Paint - Winxp

I have found some information about this - however the info I found doesn't answer this question so I would appreciate if someone could offer a code sample or advice about this question -- thank-you

解决方案

As an article, it sucks, but there's an example of how to ownerdraw trackbars here on CP[^].


这篇关于自定义绘制轨道栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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