52ky 发表于 2022-9-22 15:16:29

仿Scroll.ocx控件的VC类实现 

介绍
前些天进行一个项目,在进行界面设计的时候进行了一些换肤操作。可是因为界面选用图形界面开发,菜单栏和工具栏都进行了图形化管理,状态栏比较就显得单调了很多,所以替换了windows程序生成的状态栏,用了网络上面的Scroll.ocx控件。可是因为程序归于小程序假如加载较多控件可能不太方便,加上在使用这个控件的过程中发现假如输入显示字体长度比较长的时候在显示改写的时候会呈现问题,所以自己仿造那个显示方法进行了这个控件的编写。

(introduce
A project was carried out a few days ago, and some skinning operations were carried out during the interface design. However, because the interface is developed with a graphical interface, the menu bar and toolbar are managed graphically, and the status bar is much more monotonous, so the status bar generated by the windows program is replaced, and the Scroll.ocx control on the network is used. However, because the program belongs to the applet, it may be inconvenient to load more controls, and in the process of using this control, it is found that if the input display font length is relatively long, there will be problems when the display is rewritten, so I imitate that display method. This control has been written.)




页: [1]
查看完整版本: 仿Scroll.ocx控件的VC类实现