|
-
Aug 13th, 2001, 04:18 PM
#1
Thread Starter
Hyperactive Member
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)
-
Aug 13th, 2001, 04:20 PM
#2
Thread Starter
Hyperactive Member
sorry, here are the api's i'm using to output text the the regular mode video.
VB Code:
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
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
Public Declare Function GetWindowDC Lib "user32" (ByVal hwnd As Long) As Long
Public Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc As Long, _
ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long) _
As Long
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|