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. Redirection?

Redirection?

Scheduled Pinned Locked Moved C#
graphicsgame-devtutorialquestion
3 Posts 3 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
    SherKar
    wrote on last edited by
    #1

    hi, how to redirect the output of certain window into my app to make this window appear in certain pos in my application consider that i have DirectX App

    D A 2 Replies Last reply
    0
    • S SherKar

      hi, how to redirect the output of certain window into my app to make this window appear in certain pos in my application consider that i have DirectX App

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      The short version is, you can't. Simply because you can't tell the app's paint code to repaint in another processes window. What you might want to try is grabbing the image of the original app window, sort of like Alt-PrintScreen does, and using the image in your app. RageInTheMachine9532

      1 Reply Last reply
      0
      • S SherKar

        hi, how to redirect the output of certain window into my app to make this window appear in certain pos in my application consider that i have DirectX App

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        Use multiple render targets. Remember a render target does not have to be a form object. PictureBox works well. Its been a while since I worked with DirectX9 but I can dig up some from work if need be.

        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