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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how i can whrite text on another form my program

how i can whrite text on another form my program

Scheduled Pinned Locked Moved C / C++ / MFC
5 Posts 3 Posters 1 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
    shortwave
    wrote on last edited by
    #1

    how i can whrite text in testbox on another program form my program like using sendmessage or something

    D H 2 Replies Last reply
    0
    • S shortwave

      how i can whrite text in testbox on another program form my program like using sendmessage or something

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      shortwave wrote:

      how i can whrite text in testbox on another program form my program like using sendmessage...

      That would be one way.


      "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

      "Judge not by the eye but by the heart." - Native American Proverb

      1 Reply Last reply
      0
      • S shortwave

        how i can whrite text in testbox on another program form my program like using sendmessage or something

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        You want to send your text into your program or an external program

        _**


        **_

        WhiteSky


        S 1 Reply Last reply
        0
        • H Hamid Taebi

          You want to send your text into your program or an external program

          _**


          **_

          WhiteSky


          S Offline
          S Offline
          shortwave
          wrote on last edited by
          #4

          i want to send it to external program

          H 1 Reply Last reply
          0
          • S shortwave

            i want to send it to external program

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            well for this purpose you need to detaily from program for example if we have a program like notepad.exe that is run now we want to insert a item to File menu(test) and if you click this item its working i hope its helpful for you if you have a problem if i can i help to you HWND hWnd = ::FindWindow("Notepad", NULL); //find notepad HMENU h=::GetSystemMenu(hWnd,FALSE); HMENU h1=::GetMenu(hWnd); HMENU h2=GetSubMenu(h1,0); AppendMenu(h2,MF_STRING,22,"Test");

            _**


            **_

            WhiteSky


            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