静态控件包括静态正文(Static Text)和图片控件(Picture)。静态正文控件用来显示正文。图片控件可以显示位图、图标、方框和图元文件,在图片控件中显示图片的好处是不必操心图片的重绘问题。静态控件不能接收用户的输入。在上一章中,读者已经用过静态正文和组框控件。图片控件的例子可以在AppWizard创建的IDD_ABOUTBOX对话框模板中找到,在该模板中有一个图片控件用来显示图标。
像静态控件一样,IME窗口类自己不响应用户的输入。
Like static controls, an IME window does not respond to user input by itself.
在这篇文章中,我将告诉你如何聘请静态控件派生类的GIF动画显示。
In this article, I will show you how to employ a CStatic derived class to show Animation GIF.
完成该任务的一个更常用的方法是在对话框中安装任何控件,如静态控件。
A more common way to accomplish the same task is to install any control, such as a static control, in your dialog box.
应用推荐