C# - Display Form As Partially Transparent?

Dec 9, 2010

I have a transparent layer on the top of a form. I need to display only some part of that transparent form.

-edited- If you think of a map and traffic signal icons displaying on the map. There are a map image layer and a traffic signal icons layer, which is tranparent except icons. if you move the map location, the traffic signal icons should move along with. if the certain area of map does not appear on the screen by moving, corresponding traffic signal icnos should disappear as well. This is what I am trying to do here. Moving the trasparent form is straightforward, but I need to hide some portion of that transparent form.

[Map]
[Traffic sig] here I need to show "fic s" part only.

This is for a very small image.

View 1 Replies


ADVERTISEMENT

VS 2008 Make A Bitmap Partially Transparent?

Dec 26, 2009

I've been looking around on the internet for something to do this, but I have not found anything straightforward. Can anyone help? I just want to draw an image that pretty much "Highlights" an area in a bitmap. Anyone know how to do that?

View 4 Replies

Display A Transparent Png Into The Form

Jan 20, 2011

i want to display a transparent png into the form, i know picturebox doesn't suport tranparency. my image has a transparent background .i want it to be like i can see the picture behind the png(its like a watermark what ever picture is diplayed inthe bakground it should be visible through the image above it)

[Code]...

View 2 Replies

Form Background - Image Partially Overlays Itself

Jun 22, 2010

I added an image as the background image for a form in VB.net. When I run the program, after approx. 5-6 seconds, the image partially overlays itself, as in an offset overlay of the underlying image. I never had this problem in VB6, but I did have it the other time I used a background image on a form in VB.Net.

View 1 Replies

Form Is Partially Executed Before Form_Load Event

Jul 9, 2009

I have a problem concerning the Form_Loading event: When I want to load a new Form (ImageDisplay) the ImageDisplay_Load Event is not executed first.

Instead it runs through the global variables definitions and then executes a Private Sub called numericupdown1_changed.

The numericupdown1 field is part of the form I want to load and has not been touched.

That is my calling sequence:

Private Sub Dispalydata_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Dispalydata.Click
Dim myDisplay As New ImageDisplay

[Code]...

The strange thing is that for other forms in my code it works well and starts with the form_load function.

View 10 Replies

Semi-Transparent Child Form (or Other Semi-transparent Layer) Within A Form?

Dec 16, 2011

I'm trying to draw a semi-transparent layer over my entire form when certain events occur, with a prompt in front of this semi-transparent layer (similar to the effect in Windows Vista/7 with UAC enabled)At first I was trying to use a custom semi-transparent panel, but this didn't seem to work at all. As such I'm now trying to use a child form within the form using the opacity property on the form. However, when this semi-transparent form is added to the controls of the main form and displayed, it loses it's transparency.I've got a hacky work around at the moment where the semi-transparent layer isn't actually a component within the main form, and the transparency works then, but obviously this isn't ideal and could potentially cause various issues further down the line.

View 1 Replies

Make A RichTextBox Transparent In Order To Display A Background For It?

May 16, 2010

I need to make a RichTextBox transparent in order to display a background for it.
So far I've managed to find a custom control for it, but when I scroll the text gets all messed up (the scrollbars are bugged too). how to fix this or how to make a standard RichTextBox transparent?

View 7 Replies

Objects - Display Some Test Extra Textboxes In A Dimmed / Transparent Type Of Fashion

Feb 9, 2010

I have a form that displays data. What I would like to have is a button that when pressed will display some test extran textboxes in a dimmed/transparent type of fashion. I can get that using another form, but would like to do it without the second form.

View 1 Replies

Make Part That Drops Down Semi-transparent Or Completely Transparent Resembling Floating Text?

Oct 27, 2010

[code] how to make the part that drops down semi-transparent or completely transparent resembling floating text. So that I can see the form underneath.

View 1 Replies

Form Transparent But Not The Controls?

Apr 5, 2010

I know Opactity controls a form's tranparency but the controls have the same level of tranparency too.

View 5 Replies

How To Create Transparent Form

Mar 11, 2009

This picture was captured when jetaudio was playing music..

View 3 Replies

Possible To Make Form Transparent?

Jul 13, 2010

Is it possible to make ONLY form transparent and other things like, panels and pictureboxes on it are set to opacity 100%? That means, panels and pictureboxes are not transparent.

View 14 Replies

TextBox - In A Transparent Form

Dec 6, 2009

I set form.Opacity = 0.5, textbox1.Multiline = True, textbox1.Height = 60. when running the code, i key-in any text in Textbox, until textbox's Vertical scrollbar visible, when i move up the scrollbar, system hang and wait few minute then system become normal back.

View 1 Replies

Transparent Form But Visible Controls?

Dec 21, 2009

if I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??

View 3 Replies

2010 Form Background Transparent?

Feb 5, 2011

how can I make my Form background color transparent?just the form those object/text are not included.

I watched this in yout*** like a month ago, i keep on searching but i cannot find.if you want to be happy, find something you love to do and do it for free, then find someone to pay you for it.

View 1 Replies

Alpha Transparent PNG Form Too Slow?

Mar 5, 2011

I have problems with transparent form problem is that its too slow example if i click on button where it should just switch another panel control it takes 3-4 seconds because of redrawing [url] so at form load is called redraw() and if i click on a button and panel is switched i again call redraw() form load 6 second switching panels 3-4 seconds

View 1 Replies

Creating Transparent Rectangle Over Form?

Feb 7, 2012

i have this code that suppost to overlay a transparent rectangle over my form. Program is that i do not know what "e" should be set/defined as:

e.Graphics.FillRectangle(color.fromargb(127.5,255,255,255), New Rectangle(0, 0, 100, 100))

[code]....

View 2 Replies

Form Transparent But Controls Visible?

Aug 20, 2010

When I make my form Opacity 0% everything disappears including controls that I know will happen im not dumb ok so I tried another method using Transparency Key I had success BUT my problem there is that when I have a picture box and an image IN the picture box around the image is the Form Background color so lets say I picked Maroon for Form1.BackColor, The edges of my image is Maroon

View 6 Replies

How To Make Form Transparent (Borderless)

Jun 8, 2011

How to make A Form in vb.net Transparent without Making Its Contents Transparent..! Actually I mean I make a border less form which I want as Transparent and in that Form I added little animation picture. And I want this animation picture visible. But what is happening here is wen I am setting the Form opacity to 10% both Picture n form are getting Transparent. I only want form transparent and not the Picture.

View 3 Replies

IDE :: Insertion Of A Transparent Swf In An Windows Form?

Sep 25, 2009

is there an issue, in [VB2010] for the trouble of the insertion of a transparent swf in an windows form ??

View 5 Replies

Make Form Transparent - But Not Controls?

Jul 10, 2010

How can I make a panel on my form not become transparent when the form is set to transparent? I have the form at 80% opacity, but I don't want the panel to be transparent.

View 6 Replies

Resize Form With Transparent Background?

Feb 22, 2012

I am trying to create a simple VB 2008 application with a resizable form that has a transparent background. Seems easy enough to do, but if I do nothing more than create a new Windows form project with one form, set the transparency key on the form to a colour, and then set the background to the same colour, and then run it, after about 3-5 resize operations, I cannot resize the form anymore, except from the top, if even then. No errors, just odd behaviour.

View 16 Replies

Transparent Form Background Not Crisp?

Jul 28, 2009

I have an app that uses transparency so that the background of the app is a custom shape.The problem I am having is the rounded corners are jagged. Not a nice clean rounded corner like you would see on an icon or widget. I have tried several different image types (i.e. PNG, GIF, etc). But it seems when I use the transparency Key the quality on the edges gets worse

View 6 Replies

Transparent Form But Controls Visible?

Feb 16, 2012

I am having trouble finding a way to make the form transparent but the controls still visible. The only transparency I have been able to get to work on the form is

Me.Opacity = <value between 0 and 1>

but that affects all the controls on the form Is there a way to make the controls not inherit this property from the form? Is there another way to make the form transparent? I have buttons and a checkbox that I don't want to be affected by the transparency at all, and a picturebox that I do want to be able to control the level of transparency. Currently, I'm using a slider bar, and controlling the opacity of the form, but that makes everything on the form transparent. I'd actually like for the form itself to be completely invisible, and for my slider bar to control the opacity of the picturebox only.

View 3 Replies

Vista Style Transparent Form?

Sep 13, 2008

I was wondering if anyone know's how to make a form or part of a form transparent like the top of Windows Vista Aero windows or the gadget gallery?

View 16 Replies

VS 2008 - How To Make Whole Form Transparent

Feb 7, 2010

How would I make the whole form transparent but leaving in all the objects and controls, i.e Textbox, Button etc..

View 3 Replies

Winforms Form Transparent Background?

Jun 23, 2012

when i add my form into the picturebox the background color is argb(152, 0, 136)
and i tryied to use TransparencyKey and Still the background color is 152, 0, 136
code:

Dim frm As New Form
frm.BackgroundImage = Image.FromFile(open.FileName)
frm.BackColor = Color.FromArgb(152, 0, 136)

[code].....

View 1 Replies

Allow Partially Trusted Callers?

Oct 27, 2009

I have a VB.NET application that I wish to store on a shared server. It is a GUI application that also calls a few external .dll's. I'm running into an error message that says "That Assembly Does Not Allow Partially Trusted Callers". I've seen several posts that mention I should add the following line to my AssemblyInfo.vb file:

<Assembly: AllowPartiallyTrustedCallers()>

This still doesn't seem to solve the problem. Anyone know what to do? I'm hoping to compile and store the .exe on the server for other users to access.

View 5 Replies

VB Accidentally Partially Disabled?

Aug 23, 2009

I decided to get rid of some of the junk in my computer, so I selected all the .tmp files and deleted (nearly) all of them. I then emptied the recycle bin... Then I set to work on trying to get some code to work (in an excel 2007 macro enabled workbook).

I now have two problems: 1) excel will not let me record a macro and 2) when I run one sub routine, excel tries to run every sub routine associated with the workbook.

other than removing and re-loading Office 2007? I'll try logging off and then logging on again - if that works, I'll let you know.

View 2 Replies

2008 : Transparent Form But Visible Controls?

May 1, 2012

if I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved