quote:Originally posted by Juzzi
Hey guys, I've been busy with a thing like this as well, hope you don't mind cyber... I'm planning to implement several media players as well as other services. The way I'll work is by using the webbrowser object itself. (and yes, in c++ this time)
Nice.. . And no I don't mind.. What do you mean with using the webbrowser object itself?... Are you going to do some kind of overwriting the Ad? so you can ad you own stuff? or are just going to "overlay"/SetParentApi(as I do) on it?... Will it be a litle less "buggy"?.. Will it be there all the time? Meaning that it doesn't "close" when you close msn messenger to tray?... The way I do it the Controler I put on is destroyed when you close msn messenger and therefore the Ad shows again when you open it up beacuse everything is repainted and everything gets a new Hwnd... So I use a timer to check if the contact list is shown again and then SetParentApi again... Is this the same method you will use? Or have you found a "real" way to "hijack" it?
I don't use anything like SetParent, I use the original COM IHTMLWindow2 object . This means my code just makes the ad load another webpage. I think in this way a lot of 'nice ads' can be created. I can make a shoutbox for example, or latest news, about anything is possible to put there. Here's a screenshot of a little winamp controller:
I can easily skin it, even by using existing winamp skins. Don't have anymore time for that today, because I'm going to a party tonight
Attachment:adcontrol.JPG (11.24 KB) This file has been downloaded 692 time(s). This post was edited on 03-24-2005 at 04:47 PM by Yousef.