据我所知,一些组件在调整对齐位置时有用到RecreateWnd.

解决方案 »

  1.   

    Recreate underlying Windows screen object.procedure RecreateWnd;DescriptionCall RecreateWnd to recreate the control from scratch. RecreateWnd destroys the underlying Windows screen object. The next time the Handle property is referenced (when the object is repainted, for example), a new Windows screen object is created. Some changes in control properties are not implemented until this re-creation occurs.是你改过的组件属性起效。