473,507 Members | 6,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transparent Menu Items

I'd like to make my menu items appear transparent. Any ideas how to do
this?

Regards,
Dino

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com

Nov 20 '05 #1
3 1331
You need to create OwnerDraw menus to make them transparent, as far as I
know. Set the OwnerDraw property to True and handle the MeasureItem and
DrawItem events.

"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:%eqwb.146091$jy.63269@clgrps13...
I'd like to make my menu items appear transparent. Any ideas how to do
this?

Regards,
Dino

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com

Nov 20 '05 #2
Sorry, that won't work. Although the MenuItems may be Transparent, they will
still be children of the Menu in which they reside, and as with any control,
they will be painted by their Parent.
Although this may be possible via subclassing, I don't believe it is worth
the effort. It would be much simpler to create your own Menu style control.

"Russell Jones" <ar**@nospam.northstate.net> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
You need to create OwnerDraw menus to make them transparent, as far as I
know. Set the OwnerDraw property to True and handle the MeasureItem and
DrawItem events.

"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:%eqwb.146091$jy.63269@clgrps13...
I'd like to make my menu items appear transparent. Any ideas how to do
this?

Regards,
Dino

--


-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com


Nov 20 '05 #3
Hi,
thanks for your reply but that will not work since the drawn is still on its
parent which in not transparent. I already tried it :)

Thanks anyways,
Dino

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com
"Russell Jones" <ar**@nospam.northstate.net> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
You need to create OwnerDraw menus to make them transparent, as far as I
know. Set the OwnerDraw property to True and handle the MeasureItem and
DrawItem events.

"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:%eqwb.146091$jy.63269@clgrps13...
I'd like to make my menu items appear transparent. Any ideas how to do
this?

Regards,
Dino

--


-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com


Nov 20 '05 #4

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

Similar topics

7
20940
by: jhomp ssens | last post by:
I would like to create a pulldown menu which is semi-transparent....that is, you can see the text and graphics behind it when it is pulled down. The effect I'm looking for can be seen at...
8
10070
by: Dennis C. Drumm | last post by:
Is there a way to modify the standard context menu shown when someone right clicks in a windows text box and that would work for all open windows applications? The standard context menu for...
0
1042
by: Dino M. Buljubasic | last post by:
I have a context menu with owner drawn menu items on it. How can I make it show transparent? Thank you, Dino -- -------------------------------------------------------------------------
4
2541
by: jcrouse | last post by:
I am using the following code to move a label on a form at runtime: If myMousedown = lblP1JoyRight.Name Then If lblP1JoyRight.BackColor.Equals(Color.Transparent) Then bTransCk = True ...
0
1876
by: rh | last post by:
Hi, I am using a ASP.NET 2.0 Menu control and would like the dynamic menu to have a transparent background so that whatever is behind it is partly visible between each dynamic menu item. I've...
0
2454
by: david.hunter | last post by:
Hi Group - I'd like to try to replicate something like this in CSS : http://www.checkeredshirt.com/jo-menu/ Currently - everything is in a table, and using JavaScript rollovers that reference...
1
3395
by: =?Utf-8?B?Sm9l?= | last post by:
Hello All, I am using the ASP.NET 2.0 menu control and would like to make its background transparent, so that the page's background image can be seen through it. I haven't found an obvious way...
0
2075
by: jobs | last post by:
Hi. I have a menu horizontal on the top. I figured out that if I set this property the black arrow on parent items goes away.. StaticEnableDefaultPopOutImage="False" However, the item is...
11
4399
by: Marge | last post by:
After importing a VB6 project into Express 2008 I have two gif's with transparency do not display correctly. In VB6 these pictures where used with the image object which had different properties...
0
7223
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
7110
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...
0
7372
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...
1
7030
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...
1
5041
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
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
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
758
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.