473,699 Members | 2,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transparency key is not working in Child Forms

Hi,
When i use Transparency key with the parent form then its ok the form
become Transparent but when i add another form to parent and sets the child
form' transparency key it does not work at all.. child form never becomes
transparent neither by transparency key nor by ChildForm.BackC olor =
Color.transpare nt..
Any Body Plzzzzzzzzz..

thanx in Advance
Regards
___
Atif
Oct 10 '06 #1
3 4185
Hi,

The framework doesn't deal in true transparency, so the most transparent you'll get is either the Form itself having a color key
that allows the desktop to show through or child controls that show the BackColor of their containers.

I believe that changes with Vista, however, through WPF. I think WPF can be used on Windows XP now, but I haven't tried it myself.

..NET 3.0 Sept. CTP on MSDN:
http://www.microsoft.com/downloads/d...displaylang=en

--
Dave Sexton

"atif" <at*******@mind share-solutions.comwr ote in message news:ul******** ******@TK2MSFTN GP04.phx.gbl...
Hi,
When i use Transparency key with the parent form then its ok the form become Transparent but when i add another form to parent
and sets the child form' transparency key it does not work at all.. child form never becomes transparent neither by transparency
key nor by ChildForm.BackC olor = Color.transpare nt..
Any Body Plzzzzzzzzz..

thanx in Advance
Regards
___
Atif

Oct 10 '06 #2
Hi, Thanx for reply.

So would u plz suggest me any solution that how can i
make RectTracker to move and resize controls at rutime..

Thanx in Advance

Best Regards
___
Atif
"Dave Sexton" <dave@jwa[remove.this]online.comwrote in message
news:%2******** *******@TK2MSFT NGP03.phx.gbl.. .
Hi,

The framework doesn't deal in true transparency, so the most transparent
you'll get is either the Form itself having a color key that allows the
desktop to show through or child controls that show the BackColor of their
containers.

I believe that changes with Vista, however, through WPF. I think WPF can
be used on Windows XP now, but I haven't tried it myself.

.NET 3.0 Sept. CTP on MSDN:
http://www.microsoft.com/downloads/d...displaylang=en

--
Dave Sexton

"atif" <at*******@mind share-solutions.comwr ote in message
news:ul******** ******@TK2MSFTN GP04.phx.gbl...
>Hi,
When i use Transparency key with the parent form then its ok the form
become Transparent but when i add another form to parent and sets the
child form' transparency key it does not work at all.. child form never
becomes transparent neither by transparency key nor by
ChildForm.Back Color = Color.transpare nt..
Any Body Plzzzzzzzzz..

thanx in Advance
Regards
___
Atif


Oct 11 '06 #3
There's a tutorial here:
http://www.codeproject.com/csharp/Sh...EditorDemo.asp
atif wrote:
Hi, Thanx for reply.

So would u plz suggest me any solution that how can i
make RectTracker to move and resize controls at rutime..

Thanx in Advance

Best Regards
___
Atif
"Dave Sexton" <dave@jwa[remove.this]online.comwrote in message
news:%2******** *******@TK2MSFT NGP03.phx.gbl.. .
Hi,

The framework doesn't deal in true transparency, so the most transparent
you'll get is either the Form itself having a color key that allows the
desktop to show through or child controls that show the BackColor of their
containers.

I believe that changes with Vista, however, through WPF. I think WPF can
be used on Windows XP now, but I haven't tried it myself.

.NET 3.0 Sept. CTP on MSDN:
http://www.microsoft.com/downloads/d...displaylang=en

--
Dave Sexton

"atif" <at*******@mind share-solutions.comwr ote in message
news:ul******** ******@TK2MSFTN GP04.phx.gbl...
Hi,
When i use Transparency key with the parent form then its ok the form
become Transparent but when i add another form to parent and sets the
child form' transparency key it does not work at all.. child form never
becomes transparent neither by transparency key nor by
ChildForm.BackC olor = Color.transpare nt..
Any Body Plzzzzzzzzz..

thanx in Advance
Regards
___
Atif
Oct 11 '06 #4

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

Similar topics

57
4016
by: Piotr Wolski | last post by:
how to make my page that it was correct with every browser standard? for example when i change HTML's table size it has no effect when i see it under mozilla and has effect under Internet explorer-does anyone know how to solve that problem??
0
1369
by: Jim H | last post by:
This is a cross post from windows.forms. I'm not sure where to post it. I have an application that uses transparency. My video settings are 1600x1200 and 32 bit color. I can make the main dialog transparent but other controls and child windows are not transparent, I see the colored box around my control. If I switch my color depth to 16 bit everything is fine. Why does it work on some forms but not others. I can even make my main...
6
1299
by: Rlrcstr | last post by:
I've seen posts all over the place that talk all around this, but I haven't seen anything that resolves the issue. Is it possible to make a picturebox have a transparent background? I've tried every combination of setting I can find, but to no avail. I'm writing a drawing program and I have a grid in the background. I get a lot of flicker when drawing the shapes, well enough to be annoying, anyway. I figured if I could draw them on a...
7
2559
by: Al_C | last post by:
Hi, I create a form, then place a picturebox on it. Then I set the picturebox image to a .gif that I have edited in GIFConstructionSet to create a transparent background for. But when I run the code, what should be transparent is not really transparent. Is there a property in the picture box I need to tweak? I though the whole idea was to put the transparency information right in the gif file. Suggestions, clues, pointers? Any of the...
0
1125
by: John | last post by:
When my MDI child form is maximised it places an icon on the left of the menu bar. The icon I am using is transparent as I do not wish to see an icon. However, the icon loses its transparency and turns white when the form is displayed. The same icons show transparent when displaying as an icon for a normal form. Any ideas?
4
1339
by: Chris Strug | last post by:
Hi there, Possibly something of a simple question but I was wondering is anyone could provide a few pointers or links. Given that I have two forms, a main (frmMain) and a child (frmChild). From frmMain, I create an instance of frmChild and show() it. The child form contains a property called "getString" which I want to return the contents of a textbox from the child form.
6
3653
by: tommaso.gastaldi | last post by:
In a previous post I have been asking about a way to test Alpha Transparency. Bob and Michael have kindly provided some ideas. Here I would like to share the function I have prepared, for the purpose to improve it. Frankly, I am not clear about the exact meaning of some pixel format (max, gdi, etc.) and I hope I have put them under the right "case". I have made only some superficial test and it seems to work. Note that the purpose is...
0
1306
by: ZikO | last post by:
Hi. I've experienced one problem. Im using three froms. Two of them are maximized, whereas one is normal form with transparency. Transparency stops working, that is I can see the color which should be the transparency. It is happaning always when I go to second maximized form, use comboBox and come back closing second form to first from and use third form with transparency. Then transparency stops working. Strange!
1
2710
by: dragze | last post by:
Hi, On one of the pages of my site i use two javascripts, one makes transparency of png's work in IE, and the other embeds a flash player. Now use one of the scripts it works fine, use both and the transparency script stops working. So for example, use just the png transparency script and it displays the png's correctly in IE, as soon as i add the SWFobject (flash embedding) script the transparency script stops working!!?? :S Any help...
0
9171
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9032
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8880
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7743
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3053
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 we have to send another system
2
2342
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.