I'm using Delphi 7 Pro. I have imported the Windows Media Player
Active X control as TWindowsMediaPlayer. 

I want to create a form that shows a video, but also displays text on
top of the video.

In the FormCreate method, I start the media player with 
  WindowsMediaPlayer1.URL := 'Video.mpg';

Then I draw text on the form with
  Canvas.TextOut(X,Y,AStr);

If I make the media player window on the form smaller than the text
string, I can see the text string on the parts of the form that do not
have the media player window. In other words, the text is appearing
behind the video. I want the text to overlay the video. 

How is that done?




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/delphi-en/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to