首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 假设你想给用户修改大小和位置的能力…

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

资 源 简 介

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

文 件 列 表

resize
res
resize.cpp
resize.dsp
resize.dsw
resize.h
resize.ico
resize.rc
resizeDlg.cpp
resizeDlg.h
resource.h
StdAfx.cpp
StdAfx.h
VIP VIP
0.229103s