联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Attaching Elements to Borders - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    With the XConstraint-class you will be able to attach every border of any element to a border of the parent dialog. This means, if you change the size of the dialog, the size or position (or both) of the attached elements will also change. Normaly, every Element inside a dialog-window was attached to the left, upper corner. If you resize the dialog, the elements stay at their place and nothing changes. With this class, it's possible to attach a button to the right corner of the dialog. When you now resize the dialog, the button moves in the same way the dialog grows.

    使用这个 XConstraint类,你可以将任意元素的每个边界对齐到父窗口的边界上。这意味着,如果你修改对话框的大小,其元素的大小或位置(或二者)都会改变。通常对话框窗体中的每个元素加到窗体的左上角。如果你改变对话框的大小,元素依旧会位于原位,什么也没有改变。使用这个类,可以将一个按钮附加到对话框的右边。当你调整对话框的大小时,按钮会按同样的方式移动。
    来源: http://www.codeguru.com/dialog/constraint.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    xconstraint  1.0  2004-04-09 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/dialog/xconstraint.zip

      » 合 作 伙 伴