473,657 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with images???

al
Greetings,

I have this problem with any image, in any format, I include in
ToolBar Control. Those images are in-house developed. The problem is
when I include an image in a ToolBar and have its Enabled property set
to False, at runtime, the image just disappears, leaving a square
grayed area with nothing inside it. ( while it is supposed to show the
image in gray color)??
MTIA,
Grawsh
Nov 20 '05 #1
4 1179
* gr*********@yah oo.com (al) scripsit:
I have this problem with any image, in any format, I include in
ToolBar Control. Those images are in-house developed. The problem is
when I include an image in a ToolBar and have its Enabled property set
to False, at runtime, the image just disappears, leaving a square
grayed area with nothing inside it. ( while it is supposed to show the
image in gray color)??


That's a known "limitation ".

<msdn>
If the image or text has multiple colors, they display in a monochromatic gray.
</msdn>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #2
Does this also happends if you have a chess-board like
image? All colors that are light will turn into grey, and
all dark color will be darker gray. Maybe your image
doe'snt contain any color that is dark enougth?

/Andreas
-----Original Message-----
Greetings,

I have this problem with any image, in any format, I include inToolBar Control. Those images are in-house developed. The problem iswhen I include an image in a ToolBar and have its Enabled property setto False, at runtime, the image just disappears, leaving a squaregrayed area with nothing inside it. ( while it is supposed to show theimage in gray color)??
MTIA,
Grawsh
.

Nov 20 '05 #3
Hi,
I had similar problem just few days ago. The reason for my problem was that
my toolbar was placed on a panel instead of being placed directly on the
form.
Toolbars have a limitation that they should be placed on form directly and
not on any other control. (check here:
http://msdn.microsoft.com/library/de...classtopic.asp)

If you place the toolbar directly on the form the images should show
properly.

Dino
--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com
"al" <gr*********@ya hoo.com> wrote in message
news:66******** *************** ***@posting.goo gle.com...
Greetings,

I have this problem with any image, in any format, I include in
ToolBar Control. Those images are in-house developed. The problem is
when I include an image in a ToolBar and have its Enabled property set
to False, at runtime, the image just disappears, leaving a square
grayed area with nothing inside it. ( while it is supposed to show the
image in gray color)??
MTIA,
Grawsh

Nov 20 '05 #4
al
"Andreas" <an*******@disc ussions.microso ft.com> wrote in message news:<0b******* *************** ******@phx.gbl> ...
Does this also happends if you have a chess-board like
image? All colors that are light will turn into grey, and
all dark color will be darker gray. Maybe your image
doe'snt contain any color that is dark enougth?

/Andreas
-----Original Message-----
Greetings,

I have this problem with any image, in any format, I

include in
ToolBar Control. Those images are in-house developed. The

problem is
when I include an image in a ToolBar and have its Enabled

property set
to False, at runtime, the image just disappears, leaving

a square
grayed area with nothing inside it. ( while it is

supposed to show the
image in gray color)??
MTIA,
Grawsh
.

The strange thing is this type of behavior dosen't occure when I
import system-images (images the come with Win2k) into the toolbar.
Could I have done someting wroing when I first draw the images (they
are your basic MoveFirst and MoveLast images that I could not find in
Win2k)??

Grawsha
Nov 20 '05 #5

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

Similar topics

4
2416
by: NohaKhalifa | last post by:
Dear All; I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online .. I want them to fill data and images offline and then send them online... but i have a problem regarding the images i want it to be sent to the web site So i want if there is a possible way to fill data offline and
1
5627
by: delerious | last post by:
Could someone please take a look at this page: http://home.comcast.net/~delerious1/index11.html The set of links on the left should not have any whitespace between them, and the set of links on the right should have one pixel of whitespace between them. That's how it looks in IE and Opera. But in Mozilla, a few of the links on the left have whitespace between them, and some of the links on the right don't have whitespace between them...
1
3594
by: Jiri Brada | last post by:
Hi, I have got a following problem with using Javascript: I have a HTML page with pictures' thumbnails. After clicking on any thumbnail, I would like to open a new window with the original size picture. In the main window with thumbnails, I have got following important stuff: <SCRIPT LANGUAGE="JavaScript">
4
3714
by: Saso Zagoranski | last post by:
Hi! Here is what I'm trying to do: I have created a UserControl named PictureView. It holds all the images in one directory in the Bitmap images variable. The selected image is displayed in the PictureBox control. Here is how it works.
8
3383
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set it up as C:\domains\appA. Locally, my IIS root points to C:\domains. I don't point it to C:\domains\appA since if I have an appB under C:\domains I wouldn't be able to get to it. So to access it via my browser I go to localhost/appA.
3
3052
by: Pitcairnia | last post by:
The basic purpose of the site is for authenticated users to post event listings, which often include photographs. The user is faced with a page where they can insert all of the information about the event in a typical form with textboxes, drop down lists, etc. On this page there are also 4 file upload controls where the user can select 0 to 4 images on their file system for inclusion in the event listing. On submit, the images (if any)...
7
2300
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, the other in which I close the FileStream afterwards, although both return the same error. Here are the two versions of the code and the errors they each return (NOTE: I rebooted immediately before running each of these versions so that I knew they...
11
3094
by: designkitt | last post by:
Hello, I am having a problem aligning a cell in a table and have tried everything I can think of to correct this without any luck: It appears that the white area, which is an image in the background of this table within a table is shifted slightly to the right. It's driving me crazy. Any help would be greatly appreciated. Here is the url and the code for the whole page: http://kittelbergerdesign.com/indextest.html <html> <head>...
7
1803
crystal2005
by: crystal2005 | last post by:
Hi all, I'm currenty creating a website. I got one confusing problem related to CSS and JavaScript actually, not really html. The problem is, I actually want my welcome screen page is to be random image (1 out of 3 images will be randomly chosen by the javascript code) <script language=JavaScript> images = new Array(3); images = "<img border='0' src='Images/EmmaWatson1.jpg' width='800' height='500'>"; images = "<img border='0'...
3
4109
by: modermo | last post by:
Hey new to javascript figuring out how to fix this darn problem. I employ an image rollover, and it works beautifully in safari. But in firefox, the image has an annoying blue border around it, which i didnt specify. Further to that, when I click it, it should lead straight into another site/window. But when i click it, another totally irrelevant image pops up. Its only when i click it again that it the link takes me to another site. ...
0
8413
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7352
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.