hi,
i have a modern looking application without the cotrolbox-bar because i've
created my own. i have a restore down button with an image that has a grey
background. if the user has a different XP style then the button will look
weird. how can i make the menustrip not change colour when the user of the PC
changes their XP style?
--
Alvo von Cossel I of Germany 5 5472
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:FC**********************************@microsof t.com... hi,
i have a modern looking application without the cotrolbox-bar because i've created my own. i have a restore down button with an image that has a grey background. if the user has a different XP style then the button will look weird. how can i make the menustrip not change colour when the user of the PC changes their XP style?
-- Alvo von Cossel I of Germany
Have you tried retrieving the menu strip color at runtime? Does that match
what you have set in the designer?
What do you mean by the button looks weird - color, shape, etc?
Brett
hi,
well, the button has a grey background and i don't know how to tarnsparent
backgrounds for images. if the menustrip is blue (my XP style is silver at
the moment) then you will have a grey button. that looks weird
--
Alvo von Cossel I of Germany
"Brett" wrote: "Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in message news:FC**********************************@microsof t.com... hi,
i have a modern looking application without the cotrolbox-bar because i've created my own. i have a restore down button with an image that has a grey background. if the user has a different XP style then the button will look weird. how can i make the menustrip not change colour when the user of the PC changes their XP style?
-- Alvo von Cossel I of Germany
Have you tried retrieving the menu strip color at runtime? Does that match what you have set in the designer?
What do you mean by the button looks weird - color, shape, etc?
Brett
Most image programs let you make a transparent background without to much
trouble. I use Fireworks because its fast and simple. I export to a JPEG
and choose the background color for transparency. It is similar in
Photoshop.
I'm not clear on what you mean by menustrip. Is that something you've
created or some part of the form?
Brett
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:0F**********************************@microsof t.com... hi,
well, the button has a grey background and i don't know how to tarnsparent backgrounds for images. if the menustrip is blue (my XP style is silver at the moment) then you will have a grey button. that looks weird
-- Alvo von Cossel I of Germany
"Brett" wrote:
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in message news:FC**********************************@microsof t.com... > hi, > > i have a modern looking application without the cotrolbox-bar because > i've > created my own. i have a restore down button with an image that has a > grey > background. if the user has a different XP style then the button will > look > weird. how can i make the menustrip not change colour when the user of > the > PC > changes their XP style? > > -- > Alvo von Cossel I of Germany
Have you tried retrieving the menu strip color at runtime? Does that match what you have set in the designer?
What do you mean by the button looks weird - color, shape, etc?
Brett
hi,
well the menustrip (aka mainmenu) is a control from the toolbox.
can you make transparent backgrounds in Microsoft Paint for WinXP?
--
Alvo von Cossel I of Germany
"Brett" wrote: Most image programs let you make a transparent background without to much trouble. I use Fireworks because its fast and simple. I export to a JPEG and choose the background color for transparency. It is similar in Photoshop.
I'm not clear on what you mean by menustrip. Is that something you've created or some part of the form?
Brett "Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in message news:0F**********************************@microsof t.com... hi,
well, the button has a grey background and i don't know how to tarnsparent backgrounds for images. if the menustrip is blue (my XP style is silver at the moment) then you will have a grey button. that looks weird
-- Alvo von Cossel I of Germany
"Brett" wrote:
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in message news:FC**********************************@microsof t.com... > hi, > > i have a modern looking application without the cotrolbox-bar because > i've > created my own. i have a restore down button with an image that has a > grey > background. if the user has a different XP style then the button will > look > weird. how can i make the menustrip not change colour when the user of > the > PC > changes their XP style? > > -- > Alvo von Cossel I of Germany
Have you tried retrieving the menu strip color at runtime? Does that match what you have set in the designer?
What do you mean by the button looks weird - color, shape, etc?
Brett
MS Paint does have a transparent background feature. Click Image | Draw
Opaque. I'm not sure if you can apply it to an existing image.
The mainmenu object, this code may help you get the coloring you need: http://www.codeproject.com/cs/menu/MenuEx.asp.
Brett
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:B3**********************************@microsof t.com... hi,
well the menustrip (aka mainmenu) is a control from the toolbox.
can you make transparent backgrounds in Microsoft Paint for WinXP?
-- Alvo von Cossel I of Germany
"Brett" wrote:
Most image programs let you make a transparent background without to much trouble. I use Fireworks because its fast and simple. I export to a JPEG and choose the background color for transparency. It is similar in Photoshop.
I'm not clear on what you mean by menustrip. Is that something you've created or some part of the form?
Brett "Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in message news:0F**********************************@microsof t.com... > hi, > > well, the button has a grey background and i don't know how to > tarnsparent > backgrounds for images. if the menustrip is blue (my XP style is silver > at > the moment) then you will have a grey button. that looks weird > > -- > Alvo von Cossel I of Germany > > > "Brett" wrote: > >> >> "Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote >> in >> message news:FC**********************************@microsof t.com... >> > hi, >> > >> > i have a modern looking application without the cotrolbox-bar >> > because >> > i've >> > created my own. i have a restore down button with an image that has >> > a >> > grey >> > background. if the user has a different XP style then the button >> > will >> > look >> > weird. how can i make the menustrip not change colour when the user >> > of >> > the >> > PC >> > changes their XP style? >> > >> > -- >> > Alvo von Cossel I of Germany >> >> Have you tried retrieving the menu strip color at runtime? Does that >> match >> what you have set in the designer? >> >> What do you mean by the button looks weird - color, shape, etc? >> >> Brett >> >> >> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: xtrmntr: a northern soul |
last post by:
alright there,
i'm pretty much throwing myself on everyone here's mercy, as i'm
struggling to even articulate what i mean, never mind create the
behaviour i want.
i've a website with a...
|
by: Lapchien |
last post by:
One of my users has asked that a form change it's colour if a particular
yes/no box is ticked - possibly made a bit more tricky because the form is
tabular..?
Thanks,
Lap
|
by: Bianca |
last post by:
Hello,
I have changed the colour of the entries in my listbox. When I select
an entry the standard is that it is highlighted in blue. But the
problem is that before I customized the colour of...
|
by: rellik |
last post by:
Hi All,
I've run into a problem with the MenuStrip control and any help would be
greatly appreciated!
The problem I've got is that when use a control derived from the MenuStrip
class all MDI...
|
by: academic |
last post by:
Using
ToolStripManager.Merge(ToolStrip,ToolStrip)
I've been able to merge a MenuStrip into a MenuStrip but never a
ContextMenuStrip into a MenuStrip.
From the docs it seems to me I should be...
| |
by: Chris Peeters |
last post by:
Hi,
I have an MDI-application running with 1 MDI chilld showing in
'Normal'-WindowState, so NOT maximized.
What I see is the MDI-main window showing its title bar, below that the
menustrip with...
|
by: Schwammkopf |
last post by:
Hi !
I'm using Visual Studio 2005 Professional Edition and C#.
I have a simple question:
I want to add to my form, which is a scrollable control, a menustrip and
statusstrip.
The problem is...
|
by: active |
last post by:
For the last 3 or 4 days I've been, on an off, searching the Internet and
theVS2005 Doc for an example of how to add a contextmenustrip to a
menustrip. I can move all the items from a...
|
by: kyungdongkim |
last post by:
Hi,
I have a dynamically generated MenuStrip following this example:
http://www.codeproject.com/useritems/Dynamic_MenuStrip.asp
Basically the menu strip allows users to save and load reports. ...
|
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,...
|
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: 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...
|
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: 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: 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: 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...
| |