473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

setting bitmap on button

Hello!

I have IDC_BUTTON_CONTROL (Button Control) and IDB_BITMAP1 (Bitmap) in
my resource file for my Visual C++ GUI application. I want to connect my
IDB_BITMAP1 with IDC_BUTTON_CONTROL (put bitmap on button). I set
Bitmap=True on Properties for Button Control, but I haven't found where I
can connect bitmap with button. How to do this?

Thanks in advance!

Ivan Petrovic
Jun 24 '06 #1
2 2808
Ivan P wrote:
Hello!

I have IDC_BUTTON_CONTROL (Button Control) and IDB_BITMAP1 (Bitmap) in
my resource file for my Visual C++ GUI application. I want to connect my
IDB_BITMAP1 with IDC_BUTTON_CONTROL (put bitmap on button). I set
Bitmap=True on Properties for Button Control, but I haven't found where I
can connect bitmap with button. How to do this?

What's one of those? Sounds like you want a windows programming group.

--
Ian Collins.
Jun 24 '06 #2
On Sat, 24 Jun 2006 09:48:18 +0200, "Ivan P" <iv**@conexware.com>
wrote:
Hello!

I have IDC_BUTTON_CONTROL (Button Control) and IDB_BITMAP1 (Bitmap) in
my resource file for my Visual C++ GUI application. I want to connect my
IDB_BITMAP1 with IDC_BUTTON_CONTROL (put bitmap on button). I set
Bitmap=True on Properties for Button Control, but I haven't found where I
can connect bitmap with button. How to do this?

Thanks in advance!

Ivan Petrovic

The Windows GUI is MS specific, you will find people who know about
Microsoft specific stuff in microsoft.public.dotnet.languages.vc.

This group can only help you with standard C++.

rossum

Jun 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Monty R. Caywood | last post by:
Is there a way to add a specific bitmap on a button?
12
by: BC | last post by:
Hello, We are creating an Office add-in. We are able to display the add-in successfully. However, we followed a sample program, and it displays a FaceID = 1044 (which is not the bitmap of the...
2
by: Peter Proost | last post by:
Hi group I have the following piece of code that should resize the bitmap in a picture box but it doesn't work as I tought it would. Can someone help me with it? thnx Peter Public Class...
8
by: Nathan Sokalski | last post by:
I am trying to write code to rotate a graphic that I have. Here is the code I am currently using: Dim frogbitmap As New Bitmap(Drawing.Image.FromFile(Server.MapPath("images/frog.gif"))) Dim...
7
by: Nathan Sokalski | last post by:
I am having a problem saving an image with the same name it originally had. I have two similar versions of my code, one in which I close the FileStream used to open the original image before saving,...
2
by: abhi.menon | last post by:
I have a "Plot" button the code associated with which (when Clicked) is as follows private: System::Void showPic_Click(System::Object * sender, System::EventArgs * e) { /* code to use Matlab...
5
by: =?Utf-8?B?QVRU?= | last post by:
I have a bitmap of 100X100. On the load, the bitmap is created by a function (createimage()). On my OnPaint, I draw the image back to the screen (e.Graphics.DrawImage( bitmap, destrect)). Now,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.