how can i start youtube swf inside openGL

F-IN-BOX for Delphi / Builder C++ / VCL
dreamsome
Posts: 3
Joined: Fri Aug 29, 2008 9:59 am

how can i start youtube swf inside openGL

Postby dreamsome » Fri Aug 29, 2008 10:04 am

I input a youtube swf into openGL texture. However, youtube swf video need to click to play, how can I start play it in openGL?
Can I send a click event to the HWND ?
Thanks

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Fri Aug 29, 2008 6:51 pm

Thank you for your question.

You can emulate a click using the code:

Code: Select all

::SendMessage(aFlashHWND, WM_MOUSEMOVE, 0, MAKELONG(aX-1,aY-1));
::SendMessage(aFlashHWND, WM_LBUTTONDOWN, MK_LBUTTON, MAKELONG(aX,aY));


Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 17 guests

cron