transparency

How can I make a ElementHost transparent so that the form behind it is visible and clickable?

I tried to derive a class form ElementHost and overiding the CreateParams method: protected override CreateParams CreateParams { get { const int WS_EX_TRANSPARENT = 0x20; CreateParams cp = base.CreateParams; cp.ExStyle = cp.ExStyle | WS_EX_TRANSPARENT; return cp; ...

Some faces are transparent, other are opaque

I have created a regular dodecahedron with OpenGL. I wanted to make the faces transparent (as in the image on Wikipedia) but this doesn't always work. After some digging in the OpenGL documentation, is appears that I "need to sort the transparent faces from back to front". Hm. How do I do that? I mean I call glRotatef() to rotate the co...

Playing transparent video over screen with custom user input handling

I need to play animated characters over the screen on Windows. Basically, it will be character video with transparency and only non-transparent parts should be able to accept user input (e.g. mouse clicks), all other events should be passed through to underlying window. I've made a simple transparent DirectX window with video in it. But...

CSS to hide INPUT BUTTON value text

I am currently styling an input type='button' element using something like: background-url: url(someimage); color: transparent; background-color: transparent; -the point is i want the button to show as an image, and i want the value-text to NOT display on top of it. This works fine for Firefox as expected. However, on IE6 & IE7 i can ...

Reasons for why a WinForms label does not want to be transparent?

Why can't I set the BackColor of a Label to Transparent? I have done it before, but now it just don't want to... I created a new UserControl, added a progressbar and a label to it. When I set the BackColor of the label to transparent it is still gray =/ Why is this? What I wanted was to have the label on top of the progressbar so that ...

XFillPolygon: Transpent fill with out using a pixmap?

Because of a driver problems using XFillPolygon with StippleFill and a pixmap is extremly slow. The driver providers are also extremly slow in providing a fix so I need a workaround. Is there a way to fill a polygon with a transparent color using XFillPolygon with out using a stiple fill and a pix map? Thanks ...

Can I suspend redrawing of a form until I have performed all updates?

Using C# and .Net 2.0, I'm using an irregularly shaped form (TransparencyKey, FormBorderStyle = None, etc...) and want to allow "normal" bordered mode. I change the back colour to default from Lime I change FormBorderStyle to FixedSingle I change the TransparencyKey to Colour.None Unfortuanately this looks a complete mess on screen wi...

WPF Window created from WinForms sometimes stops redrawing

I have a borderless, topmost, clickthrough WPF window that's used to display a notification message to the user that appears and then fades away, and it's created from a WinForms app when I click a button (this is a test project). Clicking the button multiple times creates several instances of this window. Most of the time it seems to...

Remove transparency in images with C#

Hello there, does anyone know a smooth / fast way of removing transparency from e.g. pngs/tiffs etc and replacing it with a white background? Basically what I need this for is I need to create PDF/A compatible images, which may, according to the spec, have -no- transparency (and therefore a fixed white background is fine). Any ideas /...

Masks and transparency

Hi, I'm fairly new to Shoes and ran into two problems. First I want to set a mask using a partially transparent png, like this: mask do image "images/stencilMask.png" end Is this possible somehow or can only vector shapes be used? Apart from that, I noticed a small bug(?) when trying to set a transparent color as a stroke on ...

ImageList Transparency on Listviews?

EDIT: I've offered a bounty, since I doubt I'll be getting any answers otherwise. Lately I've been working with listviews and I've decided to add an icon for each item indicating whether it's input or output. The icons add fine, but they're not transparent: As can be seen, the icons are clearly not transparent. I'm currently doing so...

.Net & C#: Trying to have a transparent image on a button (assigned from IDE)

Using VS2005 and C#. Having a button in a form and an image from a resource, the image does not have transparency. How can I have transparency when assigning the image from the IDE ? Thank you. ...

Semi-transparent image border

I'd like the image to bleed into the container div.imgborder and i'd like the bleeding to be semitransparent (like an opaque glass effect). Is there a way to achieve this via CSS or maybe setting an image background with some opacity on the div.imgborder? <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/h...

Turn image sequence into video with transparency

I've got what seems like it should be a really simple problem, but it's proving much harder than I expected. Here's the issue: I've got a fairly large image sequence consisting of numbered frames (output from Maya, for what its worth). The images are currently in Targa (.tga) format, but I could convert them to PNGs or other arbitrary...

Flash transparent background not working on Mac

Hi I just can't seem to get the background to be transparent on a Mac, see here: http://www.digiflipconcepts.com/smokinhot/templates/smokinhot/ I'm using wmode=transparent. I've been searching google for ages and see that wmode is not very stable and that it will work if I use the 'embed' tag but it would not be valid code anymore. Can...

WPF Combobox bug when form allowtransparency=true

I have found the following in WPF: I have a form with AllowTransparency=true. Inside the form I put a Combobox. I add some items to the combobox. I run this application and click on the combobox. At first it does not seem to appear at all. On closer inspection (after adding more items) I see that it is actually appearing behind the for...

IE6 PNG transparency

How can I fix PNG transparency bug in IE6 for background image? ...

Lossy image compression, plus transparency, for the web?

One advantage of PNG is full alpha transparency, which allows you to have smooth edges and shadows in in web designs. The main disadvantage is that it only supports lossless compression, which for complex images means a very large file size. JPEG on the other hand offers great compressibility for complex images, but no transparency. A...

How do I set the opacity of a vertex in OpenGL?

The following snippet draws a gray square. glColor3b(50, 50, 50); glBegin(GL_QUADS); glVertex3f(-1.0, +1.0, 0.0); // top left glVertex3f(-1.0, -1.0, 0.0); // bottom left glVertex3f(+1.0, -1.0, 0.0); // bottom right glVertex3f(+1.0, +1.0, 0.0); // top right glEnd(); In my application, behind this single square exists a colored cube. ...

vb.net code to make a image transparent

I wish to make a bitmap image (.bmp) transparent using VB.NET code. Kindly help me. ...