Results 1 to 3 of 3

Thread: Embedding and AVI with MMControl

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Tucson, AZ, USA
    Posts
    95
    I am using the MMControl to play a simple AVI file. I was wondering if there was a way to embed it to the form rather that having it open in a seperate window each time. Any help is appreciated. Thanks


  2. #2
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    You can redirect the AVI file from the multimedia control to a picture box control like this:

    MMControl.hWndDisplay = Picture1.hWnd

    Just found this in a book, I'm going to try it out and post again later (unless this is enough for you to go on).
    "It's cold gin time again ..."

    Check out my website here.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Tucson, AZ, USA
    Posts
    95
    That worked perfect, I was pretty sure you could do it with Hwnd, but I was not sure how. THanks a lot.

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