高分求助,在线等待,急啊!

Stiven_PFan 2003-01-03 06:02:43
我用VB开发一个系统时,需要在MDI窗体上显示几行字,例如产品名称等
我用这几行语句:
dim DC as long
dim Text as string
Text="XXX系统"
dc=getdc(frmMDI.hwnd)
textout dc,0,0,Text,len(Text)
但好像在MDI窗体中没有用啊, 怎么办啊,各位高手帮帮忙,系统等着投入使用啊!
...全文
66 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
超级大笨狼 2003-01-05
  • 打赏
  • 举报
回复
用label控件多好啊,你这么聪明怎么这么笨啊
Stiven_PFan 2003-01-04
  • 打赏
  • 举报
回复
可是我的文字要加在窗口的右下角, 不可能把图片框拉那么大吧?
happykit 2003-01-04
  • 打赏
  • 举报
回复
放在状态栏中不就行了吗?
superlly 2003-01-04
  • 打赏
  • 举报
回复
up
chinayang 2003-01-04
  • 打赏
  • 举报
回复
在MDI上放一张你们公司信息图片....搞的漂亮些...达到了目的.还可以为你们公司做广告.
leixuejun 2003-01-04
  • 打赏
  • 举报
回复
up
zyl910 2003-01-04
  • 打赏
  • 举报
回复
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.
飞不动 2003-01-03
  • 打赏
  • 举报
回复
建议用图片框,加图片。美观漂亮又实用!!!
hh5458 2003-01-03
  • 打赏
  • 举报
回复
MDI 窗体上可放一个图片框,你可以在上面放任意东东啦
bondlei 2003-01-03
  • 打赏
  • 举报
回复
up
AechoJohn 2003-01-03
  • 打赏
  • 举报
回复
Mdi的用户区好像不能输入什么东西!它只是个容器!
你可以在其上放一个别的控件进行信息的输出!
chenyu5188 2003-01-03
  • 打赏
  • 举报
回复
UP
Stiven_PFan 2003-01-03
  • 打赏
  • 举报
回复
我是说,怎样在MDI窗体上显示文本啊
Stiven_PFan 2003-01-03
  • 打赏
  • 举报
回复
CSDN是怎么了,怎么写不进内容呀!
Stiven_PFan 2003-01-03
  • 打赏
  • 举报
回复
不好意思
dim text as string
dim DC AS LONG
text="XXX系统"
DC=getdc(me.hwnd)
textout dc,0,0,text,lenb(text)
好像在MDI窗体中不起作用

1,451

社区成员

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

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