@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> u guys are pro, i got no idea what the hell are u talking about
<1> is I take a screenshot of the background and 'paint' all of the controls onto it.
<0> what the hell is alpha blending
<2> are you really thinking alphablending, or do you simply want to make a non-standard-shaped form?
<1> lg8: www.google.com.
<1> MrBtrieve: I just answered that questions. 1) I don't know what I'm thinking and 2) no a custom shaped form region is not the answer.
<0> wait a second man, im 17 years old and i got no idea what the hell u're doing with these ****s
<0> just tell me how old u are?
<0> u must be older than me in 10 years
<0> atleast
<1> lg8: then stop interfering.
<0> shut the **** up and answer the question, im intrested
<3> *sigh*
<2> i think you do want a custom shaped form.
<3> Well done, Dayna
<1> thanks.



<1> MrBtrieve: what makes you say that?
<1> MrBtrieve: are you focusing on the pizza shape?
<1> MrBtrieve: cuz the other controls will not overlap the pizza shape.
<3> Ah, that's ok.
<2> well, if you had a non-rectangular form w/o a caption or borders, then you could place your shock/flash "form" on that and match it
<3> A RGN doesn't have to be contiguous.
<2> i thought you wanted your pizza slice to float
<1> I explained earlier... I have don region subtraction... it is NOT NOT NOT working.
<2> sorry.
<2> no need to get fiesty
<2> feisty
<2> whatever
<1> sorry. I appreciate your help.
<3> i before e except after c.
<1> I'm getting a lot of pressure to finish this...
<1> and I applogize if I seem snippy.
<4> DaynaGirl: the transparency?
<1> warjest: yes the transparency again.
<3> DaynaGirl: I don't feel like I quite understand what you're after yet. Can you explain why a RGN bound window is the wrong solution? Maybe that will help.
<4> There was an open source project that did transparency great for all of the applications i tested it on.. want me to see if i can find the project again?
<1> warjest!!! YES!!!
<4> albeit it was run as another application, you probably could use the code
<4> ok :) .. give me a few minutes, lunch just arrived but i will look first thing
<1> Vibes: let me put up a few screenshots on my website....
<5> hey vibes
<3> Hi Rahly
<1> http://www.programmer-goddess.com/screens
<1> test1 = actual application showing region subtraction.
<1> transparentcolour = transparentcolour = clMoneyGreen
<1> notransparency = just dropped onto the form.
<1> do these screen shots help at all?
<3> 404 Dayna
<6> The requested URL /screens was not found on this server.
<2> LOL
<1> http://www.programmer-goddess.com/image/screens
<1> k. do _THESE_ help at all?
<2> and what is your ultimate goal, what should these look like?
<3> ok, and is test1 the closest to what you want, just without the white box around the pizza?
<1> in test1... you would see no grey...
<1> Vibes: yes.
<2> but those are flash controls?
<1> the pizzas are 'transparent flash controls'
<2> so isn't that a function of the flash itself?
<1> the grey comes from the form region left behind it... which is not transparent itself.
<3> ok, I think rgn subtraction is in fact the answer, but it's going to be a hella complex region. You'll need to draw the rgn around the slice of pizza, not around the box surrounding the slice.
<2> i don't think so
<2> i think she's got a problem w/ her flash control, or the flash animation itself
<3> And since the outline of the pizza isn't made of perfect straight lines, it's going to be a fairly complex region.
<1> Vibes: the flash presentations are dynamic. pizza today...
<1> could be any shape tomorrow.
<2> boobies tomorrow
<1> or even later this minute...
<3> Yikes
<3> Hmm...
<1> one second please.
<3> How concerned are you about edge quality?
<2> the flash should handle it, or ultimately the flah control
<2> the fact that her 'transparent flash controls' are not transparent is the problem.
<5> today is a nice friday :-D
<1> k. refresh that url and open test2
<1> that black man is supposed to be floating on the background.



<1> MrBtrieve: the flash controls are transparent... the problem is the grey from the form they are playing on... is not disappearing... so it shows through...
<2> so why isn't your transparent flash control TRANSPARENT?
<3> They're transparent in that they pick up whatever is behind them.
<1> I believe I just answered that.
<3> And in this case, the form is behind them.
<1> bingo.
<1> and they are click through..
<1> that is... if you click outside of the image... you get what's behind the form...
<3> So, depending on how the flash control works, I see two possible solutions, but both of them involve you having to dynamically create a region that outlines only the part that you want to see.
<3> The first is to keep the windowrgn approach, but put the RGN around the image instead of around the flash control.
<1> well that won't work... cuz I have no way of knowing where the mask would start/end
<3> The second is to use VCL native transparency, and make everything but the image transparent.
<2> are the buttons on the same form?
<2> or is that a different form?
<3> Both ways you have to figure out the image mask.
<1> and the image movies inside the rectangle.
<1> that flash with the guy in it... he moves around, bends over and waves his arms about as he talks.
<3> So, as I see it, the problem here is that you need to be able to dynamically, on-the-fly, get a mask of an image against its background in the form of an RGN.
<2> she shouldn't ahve to do that
<1> MrBtrieve: amen.
<3> Now, the question I ask is... how important is it REALLY to have this transparency? Granted it's not my business, but if it was, knowing what I know about the problem, I don't think it's worth the cost to do it.
<1> one more screenshot... jussec.
<3> MrBtrieve: Well, I don't have any better ideas. :)
<1> Vibes: its 100% required.
<2> dayna: can you play teh flash in a standalone player and get what you want?
<1> MrBtrieve: yes.
<1> one sec.
<1> k. can't show you that... gotta fix a bug first.
<1> k. if you look at the TLabel in the upper right hand corner... you will see the same issue.
<3> How about controlling a standalone flash player from a hidden Delphi app?
<3> er... transparent Delphi app.
<1> without the complacations of the flashplayer...
<4> DaynaGirl: i can't find anything
<1> warjest: pitty. thanks.
<2> are the buttons on the same form?
<1> yes
<2> so the form has the buttons and more than one player?
<3> DaynaGirl:Not sure about this, but if you set ParentColor = False on the label, does that fix it?
<1> Vibes: nope.
<3> bummer
<2> what if you make the label's transparent property to true?
<1> the problem is... while I've subtracted the region... the rest of the 'form' becomes transparent
<1> except that which sits below my controls.
<1> MrBtrieve: it is currently set as such.
<1> but the part under the controls remains.
<3> Yeah, you're putting the whole control on the region... So you don't want the label to have any background?
<1> I need to make the part under the control go away...
<3> You want the text against the desktop?
<2> have you spoke to the author of your flash control?
<1> yes. floating text.
<1> MrBtrieve: no. their attitude in the past is its free what more do you want from us? or "we've optimised it as much as we can"
<2> to me, this seems like an obvious question for them.
<1> MrBtrieve: and again... the problem isn't with the flash control. its also affecting timage and tlabel.
<3> Precisely.
<2> ok.
<3> DaynaGirl: Which version of Delphi is this?
<1> this is 6 ent. (still paying my visa for that one)
<3> I've got 15 minutes before I run out the door... let's see if we can get one of these problems solved.
<1> but I also have 2006 pro
<1> k. lets just drop a TLabel on a form
<3> If it was easier to do in 2006, would you make the switch?
<1> set some text
<1> Vibes: in a heartbeat.
<3> ok, gimme a minute to fire up D6 and see if my suspicion is correct.
<1> Vibes: there are multiple developers on this project (a distributed project) we all use different compilers...
<1> I started on D6 and the company bought me their component set for D6
<1> then I got them to trade some 'training hours' for D2006 instead of cash.
<1> but they have been reluctant to upgrade my controls... as money is tight. however if I could get this working in 2006... they would upgrade in a second I'm sure.
<3> ok, D6 does not have native VCL form transparency.
<3> I'm going to see if we can get D2006 to do this.
<1> what is native vcl form transparency?
<3> TForm with transparency and alpha-blending properties built in.
<1> oh crap... my heart is in my throat.
<3> Don't get too excited... let's see if it works the way you want it to first.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #delphi
or
Go to some related logs:

sunce chat
#nhl
zombietimes
#nhl
#linuxhelp
ArryIndexOutOfBoundsException java
#politics
#computers
ImportError: No module named pcap
#solaris



Home  |  disclaimer  |  contact  |  submit quotes