|
项目描述: |
This code shows how to use the PaintPicture function to create a transparent picture box. There are two picture boxes on a form. The picture box in the center has a white line to show it's position. Drag the picture box around the inside of the back box. This is a sample of how to drag an object without using the drag mode or drag events. The back picture is redrawn on the front picture as it is moved.
这个代码展示了如何使用PaintPicture函数来创建一个透明的图片框。在一个窗体中有两个图片框。在窗体中间的图片框以白色的线条来显示它的位置。拖拉这个图片框可在背景框中四处拖放。这是一个不用拖拉模式或者拖拉事件就能拖拉一个对象的例子。当背景图片移动时它在前景图片中是红色的。
来源: http://www.freevbcode.com/ShowCode.Asp?ID=1903 |
类别: |
|
发布者:
cbd001
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
TrnspBox |
 1.0  |
2003-11-23 |
下载 |
|
|