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. Managed C++/CLI
  4. Sending events to main window of another process

Sending events to main window of another process

Scheduled Pinned Locked Moved Managed C++/CLI
c++
8 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.
  • P Offline
    P Offline
    parth_patel
    wrote on last edited by
    #1

    Hello everyone, Does anybody know of a way to send events to another process from the first process in managed C++. I found an article for the same in C++ but couldn't find one for managed C++. Thanks, Parth

    L 1 Reply Last reply
    0
    • P parth_patel

      Hello everyone, Does anybody know of a way to send events to another process from the first process in managed C++. I found an article for the same in C++ but couldn't find one for managed C++. Thanks, Parth

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Member 3273983 wrote:

      I found an article for the same in C++

      Provide a link please. Also explain why that article does not work for you.

      P M 2 Replies Last reply
      0
      • L led mike

        Member 3273983 wrote:

        I found an article for the same in C++

        Provide a link please. Also explain why that article does not work for you.

        P Offline
        P Offline
        parth_patel
        wrote on last edited by
        #3

        Sending a message to the Main Frame Window of Another Application, given only the Process Handle[^] It is for C++ not managed C++. I want to do it in managed C++ which uses the form class instead of CWin* classes.

        L 1 Reply Last reply
        0
        • L led mike

          Member 3273983 wrote:

          I found an article for the same in C++

          Provide a link please. Also explain why that article does not work for you.

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          Hook up! ><O>    ><O>  ><O>

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          L 1 Reply Last reply
          0
          • M Mark Salsbery

            Hook up! ><O>    ><O>  ><O>

            Mark Salsbery Microsoft MVP - Visual C++ :java:

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #5

            Reel me up Scotty!

            1 Reply Last reply
            0
            • P parth_patel

              Sending a message to the Main Frame Window of Another Application, given only the Process Handle[^] It is for C++ not managed C++. I want to do it in managed C++ which uses the form class instead of CWin* classes.

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              Member 3273983 wrote:

              I want to do it in managed C++ which uses the form class instead of CWin* classes.

              Yes. C++/CLI allows you to use managed and native code in the same project. So you can in fact use the approach from that article in your managed code. If you don't know how to create a C++/CLI project that supports managed and native code then you need to go read the Introductory CLI articles here on CodeProject.

              P 1 Reply Last reply
              0
              • L led mike

                Member 3273983 wrote:

                I want to do it in managed C++ which uses the form class instead of CWin* classes.

                Yes. C++/CLI allows you to use managed and native code in the same project. So you can in fact use the approach from that article in your managed code. If you don't know how to create a C++/CLI project that supports managed and native code then you need to go read the Introductory CLI articles here on CodeProject.

                P Offline
                P Offline
                parth_patel
                wrote on last edited by
                #7

                Thanks for the info. I will look up the tutorials. -Parth

                P 1 Reply Last reply
                0
                • P parth_patel

                  Thanks for the info. I will look up the tutorials. -Parth

                  P Offline
                  P Offline
                  parth_patel
                  wrote on last edited by
                  #8

                  I had one more question, is the same thing possible to get done with Java windows as target?

                  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