adrianna_r
Posts
-
Controlling a ComboBox's DropDown's Location -
Controlling a ComboBox's DropDown's LocationHello, I'd like to know if there is any way to make the DropDown part of a ComboBox open with its top-right corner aligned to the bottom-right corner of its ComboBox. Like this.[^]. Right now I'm trying to create a control of my own that inherits from a ComboBox and overriding the OnPaint and OnDrawItem methods, but I have yet to hit on a solution for this.
-M.
-
Seeking: Panel Opacity & BorderYes! I've no idea why it works, but it does. Many thanks!
-M.
-
Seeking: Panel Opacity & BorderI have tried that, yeah, without success :-\
-M.
-
Seeking: Panel Opacity & BorderI saw that code... but I didn't understand it at all and I don't know how to convert it to C#. There are a lot of abilities in that thing that I don't need, and figuring out which line does what to extract the stuff I want requires VB knowledge that I just don't have. Not to mention the fact that I don't even know if that stuff even -has- a C# counterpart.
-M.
-
Seeking: Panel Opacity & Border...But I don't want full transparency on any bit of the panel, just opacity. I want it to look like in this Photoshopped-ed image[^]. (the blue panel isn't fully transparent, but you can still see stuff under it, such as that button)
-M.
-
Seeking: Panel Opacity & BorderI don't understand... why should I create an entire form just to have a customized panel? I'm just looking for a a piece of code to stick in the OnPaint method of a custom panel that'll make it's background have opacity... I've seen it done in VB, but was unable to translate it to C#.
-M.
-
Seeking: Panel Opacity & BorderHmm... I think there may have been a misunderstanding. What I'm trying to do is create a panel with opacity, so that when I move it around over other controls, the other controls are visible under it, but the panel's background is still shown, just faded according to its opacity value. Something to the effect of looking at the world through a piece of colored cellophane... If I understand your suggestion correctly, that code will make my panel transparent, but I want it to still be visible, but faded.
-M.
-
Seeking: Panel Opacity & BorderHello, Beginning with the hard bit first, I have recently started looking for a way to control a panel's background's opacity, and have not encountered a fully explained C# solution (though there are quite a lot of VB ones, which I sadly only managed to gape at without understanding a thing). I have seen the way to make it completely transparent[^], and I have encountered a way to create opacity for a PictureBox's image[^]... but attempts to combine the two have failed miserably. I assume that once I get the transparent background thing going, drawing a non-transparent border (perhaps using some of the code from here[^]) would be easy enough to figure out (though if it clashes with the opacity goal, then I would like to know how/why). I'd appreciate any tips/links/code bits/etc. Thanks.
-M.