I tried
MdiClientObject.BackColor = Color.Transparent;
but got this error message "Control does not support transparent background colors."? Does anyone know how to make the background transparent?
You can't have layered child windows.
Related
I am trying to make a window with no decoration and transparent background using gtk2. What I have found so far does not work for me, this includes this:
How to make Gtk+ window background transparent?
Somehow I still have a white background.
What Ive done is make the gtk undecorated, set the colormap in the screen change event like in the example and draw it transparent in the expose event. Even the demo from the post above is not working.
I was able to do custom painting on the tooltip control, by disable its visual style.
I am curious that if we can make the tooltip control to be "Layered" (i.e transparent).
I tried to add WS_EX_LAYERED style on it and call
SetLayeredWindowAttributes(hwndTooltip, 0, 50, LWA_ALPHA);
But it doesn't become transparent.
I did this for the manin window and the main window become transparent.
After searching, there is no further information about how to make tooltip transparent.
So How to make tooltip control transparent background?
p.s: hwndTooltip is a child of Desktop, not of main window.
Cannot be done. Reference and explanation:
http://tech.dir.groups.yahoo.com/group/wtl/message/14214
I only have a basic knowledge of ncurses, and I was unable to find an answer to this question in the man pages.
When you set the foreground and background color for a window, is there a way to fill the whole window with the background color?
Please try bkgd, or wbkgd for specifying a window.
First you have to enable color support with start_color().
And then define color pair.
Example:init_pair(1,COLOR_BLUE, COLOR_RED)
The order is pair_number, foreground, background
Finally, set colors: wbkgd(WindowName, COLOR_PAIR(1)).
You can also use wbkgd(stdscr, COLOR_PAIR(1)) to change the main window color.
I create a Silverlight OOB application in which I try to change the background color of the window transparent. I would like to use as wallpaper its own image. This is not square and therefore interferes with the white background color of the main window.
In the OutOfBrowserSettings I can put as the "Window Style" to "none ".
In WPF there are the two following window properties:
AllowsTransparency = "True"
Background = "Transparent"
Unfortunately, this does not seem to know about Silverlight, though! Does anyone know how I get the background color of the main window transparent?
Have you tried to set beackground to {x:Null}? Or maybe to set the alpha in color to 0 which means transparent. For example #00FFFFFF or #00000000.
This is not possible with the current version (4) of Silverlight.
Can the background of InkPresenter in Silverlight be transparent?
So, whatever I have below the inkPresenter would be visible even after the inkPresenter is open!
Thanks
If you are just trying to show an image in the area of the InkPresenter you could try giving the InkBrush a ImageBrush as its background.