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. WPF
  4. Post msg. to/from MFC app.?

Post msg. to/from MFC app.?

Scheduled Pinned Locked Moved WPF
csharpc++wpfquestioncareer
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.
  • M Offline
    M Offline
    Michael Pauli
    wrote on last edited by
    #1

    Hi, I'm new to WPF and have been into MFC for years. I'm wondering if it is possible to send/post a msg. from a WPF exe onto a MFC exe and back after a job is done? My MFC app. can process messages from windows from all processes in the system but can a WPF app. process the same? I think 'yes' but how ... any pointers would be appriciated. The reason I wan't this is to have a smooth presentation gui made in WPF and base its details on data that originates from the MFC app. In that way both participants do the job they are best at. Kind regards,

    Michael Mogensen

    M 1 Reply Last reply
    0
    • M Michael Pauli

      Hi, I'm new to WPF and have been into MFC for years. I'm wondering if it is possible to send/post a msg. from a WPF exe onto a MFC exe and back after a job is done? My MFC app. can process messages from windows from all processes in the system but can a WPF app. process the same? I think 'yes' but how ... any pointers would be appriciated. The reason I wan't this is to have a smooth presentation gui made in WPF and base its details on data that originates from the MFC app. In that way both participants do the job they are best at. Kind regards,

      Michael Mogensen

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

      Michael Mogensen wrote:

      My MFC app. can process messages from windows from all processes in the system but can a WPF app. process the same?

      WindowInteropHelper Class[^]

      Michael Mogensen wrote:

      both participants do the job they are best at.

      MFC is best at what? :)

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

      S 1 Reply Last reply
      0
      • M Mark Salsbery

        Michael Mogensen wrote:

        My MFC app. can process messages from windows from all processes in the system but can a WPF app. process the same?

        WindowInteropHelper Class[^]

        Michael Mogensen wrote:

        both participants do the job they are best at.

        MFC is best at what? :)

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

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

        For more info also check out WPF and Win32 Interoperation Overview[^] and Sharing Message Loops Between Win32 and WPF[^].

        Blog: http://windowsclientdevelopment.spaces.live.com FAQs: http://windowspresentationfoundation.wikispaces.com http://windowsmobile.wikispaces.com http://vsto.wikispaces.com

        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