Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Transparent Form and windows media player

Transparent Form and windows media player

Scheduled Pinned Locked Moved Visual Basic
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    divyesh1432
    wrote on last edited by
    #1

    hi, i have one transparent form (opacity=0.5). now the problem is when there is windows media player running behind that form, either my form is hiding the playing content or the windows media player cannot show media.

    N 1 Reply Last reply
    0
    • D divyesh1432

      hi, i have one transparent form (opacity=0.5). now the problem is when there is windows media player running behind that form, either my form is hiding the playing content or the windows media player cannot show media.

      N Offline
      N Offline
      nogChoco
      wrote on last edited by
      #2

      Hi, This is probably caused by the fact that the mediaplayer is using hardware acceleration to show the video (this is known as a video-overlay). What that means, is that the mediaplayer is not actually showing the video but just a rectangle with a specific colour, and the videocard will then replace any pixel that has that colour with the video. I believe the video-overlay colour is usually rgb(16,0,16) but it could vary. Make a form with its backcolor set to 16;0;16 and move it over your mediaplayer: you should see the video playing on your form then.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups