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.
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.
解决方案 »
- 就是散散闲分哈
- 建站VB Active DLL 工程是否可以获到服务端MAC地址
- 帮忙啊 如何取得文件的最后访问时间 谢谢了
- 利用电脑通过连接线连接手机发送短信
- 这个保存该怎么处理?
- 向大家请教一个问题!
- 一万元求救车牌号码识别系统
- 求救请问ChangeDisplaySettingsEx 怎样实现扩展桌面开启?最好有vb,vc 的简单了例程,谢谢了
- 谁有用过苹果机啊,能装WINDOWS98吗?怎么进入COMS啊
- 我会播放MID和WAV了!谢谢大家,可是怎么才能循球播放MID呢?我只会循球播放WAV:(
- 此处有没有威海托普软件园的朋友?
- 如何在FORM中建立一个COMBO,在COMBO的下来菜单中选中一个项目,单击后能弹出一个FORM??????
谢谢