473,508 Members | 2,308 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 1168
* gr*********@yahoo.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*********@yahoo.com> wrote in message
news:66**************************@posting.google.c om...
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*******@discussions.microsoft.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
2408
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...
1
5621
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...
1
3577
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...
4
3701
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...
8
3364
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...
3
3043
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...
7
2287
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,...
11
3080
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...
7
1795
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...
3
4092
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...
0
7225
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,...
1
7042
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
7495
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
5627
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,...
1
5052
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...
0
3193
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...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
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 ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.