Microsoft Visual C ++ 2005 Express Edition [英] Microsoft Visual C++ 2005 Express Edition
问题描述
我刚下载了这个不能放弃在我的56Kbps调制解调器上堆积病了
(460Mb),我不能相信编写一个非常简单的
程序是多么困难。我想做的就是有一个带有按钮和位图的表单1.bmp。在
一个图片框。当您按下按钮时,它会将位图从1.bmp
更改为 2.bmp" ;.这有多难?有人可以帮忙吗?
I just downloaded this "can''t give it away" pile of sick on my 56Kbps modem
(460Mb) and I can''t believe how difficult it is to write a really simple
program. All I wanna do is have a form with a button and a bitmap "1.bmp" in
a picture box. When you clcik the button it changes the bitmap from "1.bmp"
to " 2.bmp". How difficult can it be? Can anyone help?
推荐答案
进入资源编辑器
添加资源(确保添加位图资源)
导入
(选择一个bmp文件)
将IDB_BITMAP1重命名为更多内容明智的
转到对话框资源(双击它)
添加图片控件
点击图片控件(确保属性窗口是可见的
(查看 - >属性))
在图片控件的属性中选择位图作为类型
在图像中属性选择IDB_无论你命名你的位图
资源在第一步。
-
问候,Ron AF Greve
http://moonlit.xs4all.nl >
" Divvy Ballacks" <德** @ forty2004.freeserve.co.uk>在消息中写道
news:11 **************** @ dyke.uk.clara.net ...
Hi,
Go into the resource editor
Add resource (make sure to add a Bitmap resource)
Import
( Select a bmp file)
Rename the IDB_BITMAP1 to something more sensible
Go to the dialog resource (double click on it)
Add picture control
Click picture control (make sure the properties window is visible
(view->properties))
In the properites of the picture control select bitmap as type
In the Image properties select the IDB_ whatever you named your bitmap
resource in the first step.
--
Regards, Ron AF Greve
http://moonlit.xs4all.nl
"Divvy Ballacks" <de**@forty2004.freeserve.co.uk> wrote in message
news:11****************@dyke.uk.clara.net...
I只是下载了这个不能放弃在我的56Kbps调制解调器(460Mb)上生病了,我不能相信编写一个非常简单的程序是多么困难。我想做的就是在图片框中有一个带有按钮和位图1.bmp的表单。当您按下按钮时,它会改变位图来自
1.bmp。到 2.bmp" ;.这有多难?任何人都可以帮忙吗?
I just downloaded this "can''t give it away" pile of sick on my 56Kbps modem
(460Mb) and I can''t believe how difficult it is to write a really simple
program. All I wanna do is have a form with a button and a bitmap "1.bmp"
in a picture box. When you clcik the button it changes the bitmap from
"1.bmp" to " 2.bmp". How difficult can it be? Can anyone help?
Divvy Ballacks写道:
Divvy Ballacks wrote:
我刚下载了这个不能放弃在我的56Kbps调制解调器(460Mb)上生病了,我不能相信编写一个非常简单的程序是多么困难。我想做的就是有一个带有按钮和位图的表单1.bmp。在一个图片框中。当你按下按钮时,它会将位图从1.bmp改为
。 2.bmp" ;.这有多难?任何人都可以帮忙吗?
I just downloaded this "can''t give it away" pile of sick on my 56Kbps modem
(460Mb) and I can''t believe how difficult it is to write a really simple
program. All I wanna do is have a form with a button and a bitmap "1.bmp" in
a picture box. When you clcik the button it changes the bitmap from "1.bmp"
to " 2.bmp". How difficult can it be? Can anyone help?
你对我们的C ++有什么帮助并不是很困难?
Ben
Its not very difficult and what help on C++ do you expect from us?
Ben
Divvy Ballacks写道:
Divvy Ballacks wrote:
我刚下载了这个不能放弃在我的56Kbps调制解调器(460Mb)上生病了,我不能相信编写一个非常简单的程序是多么困难。我想做的就是有一个带有按钮和位图的表单1.bmp。在一个图片框中。当你按下按钮时,它会将位图从1.bmp改为
。 2.bmp" ;.这有多难?有人可以帮忙吗?
I just downloaded this "can''t give it away" pile of sick on my 56Kbps modem
(460Mb) and I can''t believe how difficult it is to write a really simple
program. All I wanna do is have a form with a button and a bitmap "1.bmp" in
a picture box. When you clcik the button it changes the bitmap from "1.bmp"
to " 2.bmp". How difficult can it be? Can anyone help?
这个组非常专门用于C ++语言和标准的
库,通常不是工具,API或其他库。您可以尝试
询问
microsoft.public.vstudio.general
microsoft.public.vstudio.development >
microsoft.public.vc_ide.general
和其他人可能。
Gregg
This group is very specifically for the C++ language and standard
library, not generally tools, APIs or other libraries. You might try
asking on
microsoft.public.vstudio.general
microsoft.public.vstudio.development
microsoft.public.vc_ide.general
and possibly others.
Gregg
这篇关于Microsoft Visual C ++ 2005 Express Edition的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!