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. The Lounge
  3. Windows Media Player pluging to wrap screensavers

Windows Media Player pluging to wrap screensavers

Scheduled Pinned Locked Moved The Lounge
csharpc++htmlvisual-studiocom
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.
  • J Offline
    J Offline
    Justin Hallet
    wrote on last edited by
    #1

    Yesterday I downloaded and installed electricsheep screen saver from the following site - http://www.electricsheep.org/ This is such a cool screen saver, I wanted to watch it while I worked, I found the following "SheepWatcher" http://www.geocities.com/c00l_ac/SheepWatcher.html So I started thinking thats cool how did they do that, run the screen saver in a window, good old Microsoft had the anwser - http://support.microsoft.com/kb/q182383/ So being a windows developer, I decided I could do better, a Windows Media Player plugin to run ElectricSheep.scr, first step get the WMP SDK - http://www.microsoft.com/windows/windowsmedia/forpros/platform/sdk.aspx Firstly it did not work with VS.NET 2005 - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/playersdk_readme.asp Ok, create a C++ project for Windows Media Player Visualization plugin, we call it SheepWMP, ok actually I wrote a quick test like so - DialogApp::OnInitInstance () { CreateProcess "electricsheep.scr" "/p HWND" } Bingo it works, so inside the WMP pluging on create I create the process, on destroy I terminate the process on render I check the window size and FindWindowEx ( ..., "WindowsScreenSaverClass" and resize the preview window! Job done - if you want the source code please just ask :-D, its not formated for an artical yet. You can read my blog and download SheepWMP.DLL from my blog - http://titanae.blogspot.com/

    C 1 Reply Last reply
    0
    • J Justin Hallet

      Yesterday I downloaded and installed electricsheep screen saver from the following site - http://www.electricsheep.org/ This is such a cool screen saver, I wanted to watch it while I worked, I found the following "SheepWatcher" http://www.geocities.com/c00l_ac/SheepWatcher.html So I started thinking thats cool how did they do that, run the screen saver in a window, good old Microsoft had the anwser - http://support.microsoft.com/kb/q182383/ So being a windows developer, I decided I could do better, a Windows Media Player plugin to run ElectricSheep.scr, first step get the WMP SDK - http://www.microsoft.com/windows/windowsmedia/forpros/platform/sdk.aspx Firstly it did not work with VS.NET 2005 - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/playersdk_readme.asp Ok, create a C++ project for Windows Media Player Visualization plugin, we call it SheepWMP, ok actually I wrote a quick test like so - DialogApp::OnInitInstance () { CreateProcess "electricsheep.scr" "/p HWND" } Bingo it works, so inside the WMP pluging on create I create the process, on destroy I terminate the process on render I check the window size and FindWindowEx ( ..., "WindowsScreenSaverClass" and resize the preview window! Job done - if you want the source code please just ask :-D, its not formated for an artical yet. You can read my blog and download SheepWMP.DLL from my blog - http://titanae.blogspot.com/

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      Good work. An article about this sounds great too. Chris Meech I am Canadian. [heard in a local bar] The America I believe in has always understood that natural harmony is only one meal away from monkey burgers. [Stan Shannon] GOOD DAY FOR: Bean counters, as the Australian Taxation Office said that prostitutes and strippers could claim tax deductions for adult toys and sexy lingerie. [Associated Press]

      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