473,396 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Transparent Control Library

I understand that MS made their controls annoyingly difficult to modify (for
example transparency on a listbox, tab control, treeview etc) to ensure they
didn't torpedo the third party control library industry (or is this just an
excuse to fob us off with controls that are difficult to extend?).

Therefore could anyone tell me of a company that offers decent transparent
controls?
Nov 17 '05 #1
2 6724
>I understand that MS made their controls annoyingly difficult to modify
(for
example transparency on a listbox, tab control, treeview etc) to ensure
they
didn't torpedo the third party control library industry (or is this just
an
excuse to fob us off with controls that are difficult to extend?).
The System.Windows.Form class has a property called "TransparencyKey" which
is a System.Color. When any child control of the Form has a BackColor that
is the same as the TransparencyKey, it becomes transparent.
Therefore could anyone tell me of a company that offers decent transparent
controls?
Microsoft?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Simon Tamman {Uchiha Jax}"
<i_**********************************@NOSPAMhotmai l.com> wrote in message
news:x8******************@newsfe6-win.ntli.net...I understand that MS made their controls annoyingly difficult to modify
(for
example transparency on a listbox, tab control, treeview etc) to ensure
they
didn't torpedo the third party control library industry (or is this just
an
excuse to fob us off with controls that are difficult to extend?).

Therefore could anyone tell me of a company that offers decent transparent
controls?

Nov 17 '05 #2
Truly transparent controls are very difficult to create because you have to
get the parent to draw it'd background and foreground before drawing the
control itself.

MS cheat by getting the parent to draw it's background onto the
pre-transformed Graphics of the control which implements partial
transparency.

The "real" transparency seen in some windows is implemented by the
LayeredWindow API, Form opacity is an example of this, but windows that use
the LayeredWindow API must be toplevel windows.

For an example of better, but not perfect, transparency see Windows Forms
Tips and Tricks.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Simon Tamman {Uchiha Jax}"
<i_**********************************@NOSPAMhotmai l.com> wrote in message
news:x8******************@newsfe6-win.ntli.net...
I understand that MS made their controls annoyingly difficult to modify
(for
example transparency on a listbox, tab control, treeview etc) to ensure
they
didn't torpedo the third party control library industry (or is this just
an
excuse to fob us off with controls that are difficult to extend?).

Therefore could anyone tell me of a company that offers decent transparent
controls?

Nov 17 '05 #3

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

Similar topics

2
by: °Ë´óɽÈË | last post by:
Hi, everybody Have you every realize the transparent control by C#? I want to customer some controls to support transparent, can you tell me how to realize me? Thank you! Jerry
3
by: °Ë´óɽÈË | last post by:
HI, I create a custom transparent control, set the style is ControlStyles.DoubleBuffer, It display black background. How to create a double buffer transparent control?
0
by: Willie jan | last post by:
I created a program that loads bob powell's transparent control onto a form. I load 3 of them each with their own color and partly over each other. when i now set the zorder by using bringtofront...
2
by: Iwan Budihalim | last post by:
Dear All, I try to create Windows Control Library and embedded it to my web project. after successfull creating the windows control library and put the control to my web all the control show...
0
by: atif | last post by:
HI, I want to make transparent control. Would any one help me to solve this problem.. and its transparency should exist while i was resizing it.. thanx in advance Regards ___ Atif
1
by: Mihai Velicu | last post by:
I created a control library and i created a control.I can test it is ok.I added this control to a form .Run the form is ok also.After i modified the control to add some new features and i had some...
1
by: yuban | last post by:
I am trying ( so far in vain ) to display a normal looking ( non-transparent ) control in a transparent window. I am attempting this in C++, on Vista ( argh ), and having no luck at all. Our...
1
by: John Dinning | last post by:
(Using VS2005 C# and compact Framework. Target device is running CE5). I am creating a simple visual control (New Control Library project for smart device Windows CE 5), derived from Label, with...
6
by: HristiyanVasilev | last post by:
Hello there ! I'm developing a Windows appliciation that involves so called "Transparent Controls". As you would probably know, the only ( as far as i know ) way to achieve a fully transparent...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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
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
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,...

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.