Results 1 to 6 of 6

Thread: DX Overlay questions

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Location
    Seattle, WA USA
    Posts
    216

    DX Overlay questions

    Does anyone know if Visual Basic 6 can do overlay through DirectX??

    For example, in WinAmp you are able to set your visualization to your desktop background using an overlay palette color. Can you do this in VB?

    Thanks

  2. #2
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    What do you mean? Having a transparent color? In DX that's easy, but only in your game (you can't make a color transparent and show the desktop underneath it). Please be a little more specific in your question
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Location
    Seattle, WA USA
    Posts
    216
    Well, in WinAmp you can set your visuallization as your desktop background. Some how it overlays onto the background and the wallpaper then becomes "moving wallpaper". I don't know how this is done, although I heard somewhere that it was a DirectDraw filter that did this.
    VB6, VB.NET, C#, SQL, XML, ADO.NET, ASP.NET, HTML.
    MCP & A+ Certified. Looking for a job in the Seattle, WA area.

  4. #4
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Hum I once tried to do something like that by replacing the desktop with my own form, but it didn't work

    I'm not sure if that's done using DirectX. Many plugins use it, but I think it uses some other wicked Windows APIs to draw to the desktop.
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  5. #5
    Lively Member The_Fog's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Posts
    65
    ethanwa:

    I know exactly what you mean and I've been thinking about the same problem for a while. Haven't found a solution yet though. Have you found a way to solve it, using VB or c++? If you have (of if you do) then please send me a mail on it..
    My addess is:
    [email protected]
    They will try to steal everything you own,
    It goes on and on and on...


    Pain - On and On

  6. #6
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710
    Originally posted by Jotaf98
    Hum I once tried to do something like that by replacing the desktop with my own form, but it didn't work

    I'm not sure if that's done using DirectX. Many plugins use it, but I think it uses some other wicked Windows APIs to draw to the desktop.
    No, it actually does replace the color. its quite an interesting effect, I must say, especially if nearly every color in your windows appearance settings is the same color =)

    Z.

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