Window Transparency
BlitzMax Forums/Brucey's Modules/Window Transparency
| ||
Seems to be all the rage in the MaxGUI world... But, want to use it with wxMax? SetTransparent() is your friend... SuperStrict Framework wx.wxApp Import wx.wxFrame New MyApp.run() Type MyApp Extends wxApp Field frame:wxFrame Method OnInit:Int() frame = wxFrame.CreateFrame(,,"Hello World",,,300, 300) frame.SetTransparent(128) frame.Center() frame.show() Return True End Method End Type :-p |
| ||
Schweet. I never had a need for transparent windows though, which is odd. |
| ||
yeah me too but nice little function. Is there any similar "animation" fade-in(open) fade-out(close) like you can encounter with XP GUI ? Not very useful but pretty nice when your app's done. |
| ||
I suppose you could "fake" it, changing the transparency over a given time-period. It might work quite well. (or it might not :-) |
| ||
Indeed this is very possible ! But i was more thinking about those moving, jumping and poping windows. I remember when trying PureBasic playing with those which seem to be built-in XP. They are not often use though (i can't remember seeing any program popup this way to tell the truth). But well this is a pretty useless functionality i must admit ^^ |