Results 1 to 2 of 2

Thread: Video Overlay Problem, Help.

  1. #1

    Thread Starter
    Hyperactive Member AAG's Avatar
    Join Date
    Aug 2000
    Location
    United States
    Posts
    411

    Video Overlay Problem, Help.

    how would i output text to a video while its playing in fullscreen. I am using the MCI api to play media, i know how to get the hwnd and dc of the video window and how to output text to it when in regular mode, but how would i output text to it while its in fullscreen ?? Thanx for any help.
    This Business Is Binary. Your a 1 or a 0. Alive or Dead. (AntiTrust)

  2. #2

    Thread Starter
    Hyperactive Member AAG's Avatar
    Join Date
    Aug 2000
    Location
    United States
    Posts
    411
    sorry, here are the api's i'm using to output text the the regular mode video.

    VB Code:
    1. Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    2.  
    3. Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
    4.  
    5.  
    6. Public Declare Function GetWindowDC Lib "user32" (ByVal hwnd As Long) As Long
    7.  
    8. Public Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc As Long, _
    9. ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long) _
    10. As Long
    11.  
    12. Public Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long
    This Business Is Binary. Your a 1 or a 0. Alive or Dead. (AntiTrust)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width