I.T. Discussion Community!
-Collapse +Expand
VB Classic
Search VB Classic Group:

Advanced
-Collapse +Expand VB Classic Store

Prestwood eMagazine

June Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyVisual Basic Classic BoardVB Classic Control Usage and Developing Topic   Print This     

Showing video in a circle

Showing video in a circle in VB Classic Control Usage and Developing topic (part of our Visual Basic Classic group).

Quick Search: Showing   Showing video   Showing video circle  
mugs
-- USA
Hi there,
I am new to VB and am trying to display video in a circular object. Can anyone tell me how/whether I can do this? eg what tool to use and how to associate the .avi or .mpeg file with it.
Thanks.
 Posted 17 years ago (Thread Starter)
Comment Quote
About mugs -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #6303, 1 replies
Thread Started 5/21/2002 7:30:00 AM
View Counter=2639
Last Reply Posted 7/12/2002 6:44:00 AM)
Location=-- USA 
Joined=17 years ago   MB Posts=1  
Most Recent Post
Merrion
 (Inactive)
Dublin, Ireland
Hi,

If you are able to get a window handle (hwnd) for the window that is displaying the video you can crop that window to a circular shape with the API calls CreateEllipticRgn and SetWindowRgn...

  
'\\ Declarations
Declare Function SetWindowRgn Lib "user32" Alias "SetWindowRgn" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long

Declare Function CreateEllipticRgn Lib "gdi32" Alias "CreateEllipticRgn" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Hope this helps,
Duncan
 Posted 17 years ago
Comment Quote
About Merrion -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #6949 (Level 1.1)  Reply to 6303
Thread Started 7/12/2002 6:44:00 AM
View Counter=2
Location=Dublin, Ireland  
Joined=17 years ago   MB Posts=3  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1264A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #6303 Counter
2639
Since 4/2/2008
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech