Hi,
I created a toolbar, added button and Icons from an ImageList.
The icons are transparent for disable mode.
The problem is that the icons does not look good, a blue outlet is added to
the icon.
If the image is not transparent everything looks good, but of-course, when
the buttons are disabled, the icons all gray.
I tired bmp, jpg, png, gif
I tried seveal icons sizes : 16x16, 17x18, 25x25
Any Ideas ?
Thanks in advance. 4 3055
As well as the picture, you must set the mask property as well. The mask is
a picture in black and white where white denotes the transparent areas and
black the non-transparent areas.
/Mats-Lennart
"udir" <ud**@discussions.microsoft.com> wrote in message
news:EA**********************************@microsof t.com... Hi, I created a toolbar, added button and Icons from an ImageList. The icons are transparent for disable mode.
The problem is that the icons does not look good, a blue outlet is added to the icon.
If the image is not transparent everything looks good, but of-course, when the buttons are disabled, the icons all gray.
I tired bmp, jpg, png, gif I tried seveal icons sizes : 16x16, 17x18, 25x25
Any Ideas ?
Thanks in advance.
If I understand you I've done that, didn't work.
My images are masked as you suggested.
( I have only one set of images, If you mean that I need another set of
images for disable mode, please detail how do I do that)
Thanks for your response.
"Mats-Lennart Hansson" wrote: As well as the picture, you must set the mask property as well. The mask is a picture in black and white where white denotes the transparent areas and black the non-transparent areas.
/Mats-Lennart
"udir" <ud**@discussions.microsoft.com> wrote in message news:EA**********************************@microsof t.com... Hi, I created a toolbar, added button and Icons from an ImageList. The icons are transparent for disable mode.
The problem is that the icons does not look good, a blue outlet is added to the icon.
If the image is not transparent everything looks good, but of-course, when the buttons are disabled, the icons all gray.
I tired bmp, jpg, png, gif I tried seveal icons sizes : 16x16, 17x18, 25x25
Any Ideas ?
Thanks in advance.
Hi Udir,
I had faced the same problem earlier and the solution to remove
the BLUE border of the images is
make the Toolbar button size same as the Image size
i.e
if ur image is of 16 X 16 then the toolbar button size should be 16X16
This will work just try it.
Regards,
Pramod
"udir" <ud**@discussions.microsoft.com> wrote in message
news:02**********************************@microsof t.com... If I understand you I've done that, didn't work. My images are masked as you suggested.
( I have only one set of images, If you mean that I need another set of images for disable mode, please detail how do I do that)
Thanks for your response.
"Mats-Lennart Hansson" wrote:
As well as the picture, you must set the mask property as well. The mask
is a picture in black and white where white denotes the transparent areas
and black the non-transparent areas.
/Mats-Lennart
"udir" <ud**@discussions.microsoft.com> wrote in message news:EA**********************************@microsof t.com... Hi, I created a toolbar, added button and Icons from an ImageList. The icons are transparent for disable mode.
The problem is that the icons does not look good, a blue outlet is
added to the icon.
If the image is not transparent everything looks good, but of-course, when the buttons are disabled, the icons all gray.
I tired bmp, jpg, png, gif I tried seveal icons sizes : 16x16, 17x18, 25x25
Any Ideas ?
Thanks in advance.
Thank You Very Much !!!!!!!!!!!!!!
"Pramod" wrote: Hi Udir, I had faced the same problem earlier and the solution to remove the BLUE border of the images is make the Toolbar button size same as the Image size i.e if ur image is of 16 X 16 then the toolbar button size should be 16X16 This will work just try it.
Regards, Pramod
"udir" <ud**@discussions.microsoft.com> wrote in message news:02**********************************@microsof t.com... If I understand you I've done that, didn't work. My images are masked as you suggested.
( I have only one set of images, If you mean that I need another set of images for disable mode, please detail how do I do that)
Thanks for your response.
"Mats-Lennart Hansson" wrote:
As well as the picture, you must set the mask property as well. The mask is a picture in black and white where white denotes the transparent areas and black the non-transparent areas.
/Mats-Lennart
"udir" <ud**@discussions.microsoft.com> wrote in message news:EA**********************************@microsof t.com... > Hi, > I created a toolbar, added button and Icons from an ImageList. > The icons are transparent for disable mode. > > The problem is that the icons does not look good, a blue outlet is added > to > the icon. > > If the image is not transparent everything looks good, but of-course, > when > the buttons are disabled, the icons all gray. > > I tired bmp, jpg, png, gif > I tried seveal icons sizes : 16x16, 17x18, 25x25 > > Any Ideas ? > > Thanks in advance. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Philippe Meunier |
last post by:
Hi,
I am using the .NET toolbar with VB.NET 2003.
My toolbar uses icons images that are actually PNG files and uses alpha
blending on it. So to make alpha blending work correctly with the...
|
by: udir |
last post by:
Hi,
I created a toolbar, added button and Icons from an ImageList.
The icons are transparent for disable mode.
The problem is that the icons does not look good, a blue outlet is added to
the...
|
by: Quan Nguyen |
last post by:
I'm trying to look for the icons/images (New/Open/Save,
Copy/Cut/Paste...) typically used in toolbars in Windows
applications, such as MS Word. I'd appreciate if anyone
can point me to a webpage...
|
by: Tam |
last post by:
im at my wits end.
where can i get icons for an application im building. i need the usual ones,
align, font size etc but i simply cannot find the icons.
im probably being dumb but ive tried...
|
by: Cecilia Bergengruen |
last post by:
I need icons to put in my toolbar, for the following buttons:
Print
Next
Previous
First
Last
Duplicate
Save
Discard
| |
by: lindsay |
last post by:
Hello,
I am trying to make a toolbar at the bottom of my pocket pc app with
'New', 'Open', 'Delete', etc. icons on the buttons. I'm pretty sure
that there are some standard system icons in...
|
by: Al |
last post by:
Hi All,
I am trying to get a 24x24 "Windows XP" icon to display correctly on a
button in my toolbar. My icon has 8 layers (16x16, 16x16, 24x24, 24x24,
32x32, 32x32, 48x48, 48x48) with each size...
|
by: Mitchell Vincent |
last post by:
I've been trying to get a standard toolbar to play nice with some nice icons
that I have. When I put them on a button or anything they look perfect, but
through an imagelist and on a toolbar they...
|
by: KW |
last post by:
I created custom toolbar icons that look and function similar to the
standard MS Access Fill/Back Color and Fill/Fore Color toolbar icons.
My custom icons call a function that uses the Terry Kreft...
|
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...
|
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,...
| |
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...
|
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...
|
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,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |