ACTIVEX 0.8.5

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mrambhatla
New Cone
New Cone
Posts: 6
Joined: 24 Oct 2006 21:00

ACTIVEX 0.8.5

Postby mrambhatla » 24 Oct 2006 21:04

Hi, I have downloaded the latest ActiveX component for Windows. My application is built in C++ on .NET.
Everytime I start the application, VLC defaults the background image to their cone. I would like to customize this. I tried the BackgroundImage property but that doesn't seem to do anything. Any thoughts?

paulc0001
New Cone
New Cone
Posts: 7
Joined: 02 Oct 2006 16:22

Re: ACTIVEX 0.8.5

Postby paulc0001 » 03 Nov 2006 12:46

I think you need to recompile it. Change the function VLCPlugin::onDraw() so that it contains:

FillRect(hdcDraw, &bounds, (HBRUSH)GetStockObject(BLACK_BRUSH));

about 6 lines down. This assumes you want it black - otherwise just create your own brush. Then comment out the block that begins with:

if( NULL != pict )

to stop it drawing the cone. Hope this helps!

mrambhatla
New Cone
New Cone
Posts: 6
Joined: 24 Oct 2006 21:00

Postby mrambhatla » 08 Nov 2006 17:29

Thanks for the reply, but I did not compile VLC code. I am just using their ActiveX component in my application. I don't think that I have access to their functions.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 78 guests