473,404 Members | 2,187 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,404 software developers and data experts.

Custom Icon in Message Box


Hi friends,

I want to use my own icons in MessageBox instead of default icons. How
can we do this?

Ex: MessageBox.Show("You didn't save your information. \n Do you want to
Leave anyway?","Close",MessageBoxButtons.YesNo,MessageBo xIcon.Question)

instead of MessageBoxIcon.Question,i want to give my own .ico file name.

Please help me.

Jul 21 '05 #1
2 4538
VIJAY,
I want to use my own icons in MessageBox instead of default icons.
How can we do this?


Why, we have all so many natural languages in the world. Icons help us to
overcome that in some cases and now you want to make this again impossible.

Just my thought,

Cor
Jul 21 '05 #2
u can do in user control to create ur own icon msgbox.

VIJAY KUMAR wrote:
Hi friends,

I want to use my own icons in MessageBox instead of default icons. How
can we do this?

Ex: MessageBox.Show("You didn't save your information. \n Do you want to
Leave anyway?","Close",MessageBoxButtons.YesNo,MessageBo xIcon.Question)

instead of MessageBoxIcon.Question,i want to give my own .ico file name.

Please help me.


Jul 21 '05 #3

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

Similar topics

5
by: Dennis C. Drumm | last post by:
I have a windows form configured as a fixed dialog I'm using as a custom MessageBox (has some additional buttons). How do I get it to play the standard windows sounds when envoked and can I insert...
2
by: Dennis C. Drumm | last post by:
This is a restatement of an earlier post that evidently wasn't clear. I am building a custom MessageBox dialog that has, among other things, a few new button options (yes to all, no to all, etc.)...
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...
1
by: Derrick | last post by:
Hello all; I'm looking at creating a custom nonvisual component (like the SQLConnection control, for example). I would like to do one thing with this control which is a little more complex. ...
2
by: Showjumper | last post by:
I want my custom control to have its own toolbox icon. I create the bmp file and it has the same name as the control class. I then set it to embedded resource but it still doesnt appear in the...
1
by: Brian Henry | last post by:
I am trying to make a custom user control that gets a list of users from our database and populates the list, its an owner drawn control also, the problem is, I placed the item onto a form and...
6
by: rodchar | last post by:
hey all, i'm trying to add an image to my custom control so that it looks unique in my toolbox. i saw in a webcast that all you had to do was add the image to the project and change the Build...
2
by: --== Alain ==-- | last post by:
Hi, How can i custom the icon (shown on ToolBox Palette) of my Custom Visual C++.NET control ? Moreover, if i want to place my custom control on a particular TAB, how can i do that ? ...
0
by: benjamin11 | last post by:
Hi all, A few questions regarding the custom setup program in C#: 1. How do I make the custom setup copy a few files (image files, icon files, or text files), into the application...
5
by: Rick | last post by:
I'm moving Access2000/2003 apps into Access2007 running on XPpro Dells. I've found where to lower the macro security and with a tweak to references have allowed me to use my custom toolbars...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.