代码说明:
TCaptionButton is a small control intended to provide an easy way to achieve the behavior of Windows' standard caption buttons anywhere on your form. You can select any of the available button types (close, help, maximize, minimize, or restore). System metrics are used to set the original control size, but the buttons may be resized as desired; DrawFrameControl will scale the glyph accordingly. The ForceSystemMetrics property can be used, however, to prevent sizing of the control. The control responds to CM_WININICHANGE (essentially WM_SETTINGCHANGED), and when ForceSystemMetrics is True, the control will adjust its size to accomodate the new system metrics.
系统类型的按钮
【立即下载】
|