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 / C++ / MFC
  4. how to send WM_ to other Apps

how to send WM_ to other Apps

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
2 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.
  • J Offline
    J Offline
    josephvan
    wrote on last edited by
    #1

    i wanna write a program which can send messages as WM_LBUTTON_DOWN to other apps, for example, i want to work out the operation ->open "notepad"->input "ABC" in that blank edit area, what can i do in my own program? thanks a lot Josephvan thanks for your attention

    C 1 Reply Last reply
    0
    • J josephvan

      i wanna write a program which can send messages as WM_LBUTTON_DOWN to other apps, for example, i want to work out the operation ->open "notepad"->input "ABC" in that blank edit area, what can i do in my own program? thanks a lot Josephvan thanks for your attention

      C Offline
      C Offline
      CodeBeetle
      wrote on last edited by
      #2

      u can use SendInput() function. But to send characters to a specific edit window its probably best to use WM_CHAR with PostMessage().


      CodeBeetle.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