在MDI窗口中平铺背景图片(高分求助)

Stiven_PFan 2002-12-26 10:18:55
在MDI窗口中平铺背景图片怎么办,它没有PAINT事件啊!

...全文
43 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
zyl910 2002-12-27
  • 打赏
  • 举报
回复
http://www.mvps.org/vbvision/_samples/MDI_Background_Demo.zip
MDI Background Demo.zip (25KB)
This project shows how you can use memory device contexts to create pictures that can be assigned to the picture property of a VB MDI parent form. The project contains routines to stretch a bitmap across the background of the form and center a bitmap on top of a background as well as a routine for tiling a bitmap onto the background. It also contains code to draw transparent bitmaps that is used when overlaying a foreground bitmap onto the background. This project replaces a previous demo that used subclassing to attain a similar result. The routines in this project are generic enough that they can be used with any VB form or control that has a picture property.
ttyp 2002-12-26
  • 打赏
  • 举报
回复
http://www.china-askpro.com/download/MDI_Background_Demo.zip
Stiven_PFan 2002-12-26
  • 打赏
  • 举报
回复
大家是怎么了,真的没有人知道吗?

7,786

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧