登录
首页 » Windows开发 » 假设你想给用户修改大小和位置的能力…

假设你想给用户修改大小和位置的能力…

于 2022-10-29 发布 文件大小:10.32 kB
0 90
下载积分: 2 下载次数: 1

代码说明:

Suppose you wanted to give the user the ability to modify the size and position on a certain control? This example shows how to implement resizing controls on a dialog box as it is done when drawing controls on a dialog template or visual basic at design time. In order to accomplish this we can use the class CRectTracker to manage all the drawing and resizing of a rectangular frame which also has (optional) 6 resize handlers (as shown in the image above). The first thing, you ll need to do is to invoke a CRectTracker and specify given coordinates: -Suppose you wanted to give the user the ability to modify the size and position on a certain control This example shows how to implement resizing controls on a dialog box as it is done when drawing controls on a dialog template or visual basic at design time. In order to accomplish this we can use the class CRectTracker to manage all the drawing and resizing of a rectangular frame which also has (optional) 6 resize handlers (as shown in the

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104509会员总数
  • 10今日下载