在对话框窗体里显示背景图片VC实现
在对话框窗体里显示背景图片VC实现,一般我们可以选择两种方法:一种是使用图片控件,在WM_PAINT消息中绘图,本方法使用起来较简单,不过功能一般,不容易对图片进行控制;另一种方法是在WM_PAINT中绘图,本方法虽然复杂些,但可以做很多特殊处理如图片拉伸、图片反转等。要进一步了解具体的实现方法请下载本源代码
(In the dialog box displays a form where the background picture VC to achieve in the dialog box displays a form where the background picture VC achieved, in general we can choose two ways: one is to use the picture controls, in the WM_PAINT message in the drawing, this method is relatively simple to use , but the function of general, the picture is not easy to control Another way is to WM_PAINT in the drawing, although this method is more complicated, but it can do a lot of special treatment, such as drawing pictures, pictures, reverse, etc.. To learn more about the specific implementation method, download origin code)