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. C#
  4. C# DirectX Overlay

C# DirectX Overlay

Scheduled Pinned Locked Moved C#
game-devtutorialcsharpgraphicshelp
3 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.
  • S Offline
    S Offline
    seq
    wrote on last edited by
    #1

    Hey all! Id like to write a piece of code which would display some text in directx. But Id like it to display it while playing an online game (so that why playing in a corner there would popup a halftransparent text about some statistics, for more details: the online game is called America's Army ;]). But Im now quite sure how to do it, so that the game wont minimize itself, like the communicator: xfire does. Have anyone already tried that ? I would appreciate for any help or example code in C#. With regards, Pawel

    G 1 Reply Last reply
    0
    • S seq

      Hey all! Id like to write a piece of code which would display some text in directx. But Id like it to display it while playing an online game (so that why playing in a corner there would popup a halftransparent text about some statistics, for more details: the online game is called America's Army ;]). But Im now quite sure how to do it, so that the game wont minimize itself, like the communicator: xfire does. Have anyone already tried that ? I would appreciate for any help or example code in C#. With regards, Pawel

      G Offline
      G Offline
      Gavin Roberts
      wrote on last edited by
      #2

      no real need for using directx, you can use a simple windowless form and set the transparency color the same of your background, tip: I usually use Magenta. Now you can position your form where ever you want, and it will display the text as required. Just make sure what ever you want to show isn't the same color as the transparency color. Gav

      S 1 Reply Last reply
      0
      • G Gavin Roberts

        no real need for using directx, you can use a simple windowless form and set the transparency color the same of your background, tip: I usually use Magenta. Now you can position your form where ever you want, and it will display the text as required. Just make sure what ever you want to show isn't the same color as the transparency color. Gav

        S Offline
        S Offline
        seq
        wrote on last edited by
        #3

        sorry Im quite new to C#.. what do you mean by windowless form ? how to achiev it ?

        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