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. Icons on the status area

Icons on the status area

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 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.
  • C Offline
    C Offline
    codevisio
    wrote on last edited by
    #1

    Hi at all, is there a way to send messages from an application A to an other application B? Application A is mine, application B is not mine. Application B has an icon in the status bar. With application A i would like to send messages, like WM_KEYDOWN or right button click, to appliaction B via its icon on the status bar. It is possible? thanks a lot roberto

    U M 2 Replies Last reply
    0
    • C codevisio

      Hi at all, is there a way to send messages from an application A to an other application B? Application A is mine, application B is not mine. Application B has an icon in the status bar. With application A i would like to send messages, like WM_KEYDOWN or right button click, to appliaction B via its icon on the status bar. It is possible? thanks a lot roberto

      U Offline
      U Offline
      utkarsharma
      wrote on last edited by
      #2

      hi there .. there r ways to send info from one application to another Like memory mapped file, DLL hooking ... for this in the above win95 u can work upon but u need control of both the application in this scenario. you can refer any Advanced Windows book of Jeffry Richter of Microsoft Press .... all the best.. ....:zzz: utkarsh sharma "Not everything that counts can be counted, and not everything that can be counted counts."

      1 Reply Last reply
      0
      • C codevisio

        Hi at all, is there a way to send messages from an application A to an other application B? Application A is mine, application B is not mine. Application B has an icon in the status bar. With application A i would like to send messages, like WM_KEYDOWN or right button click, to appliaction B via its icon on the status bar. It is possible? thanks a lot roberto

        M Offline
        M Offline
        Monty2
        wrote on last edited by
        #3

        roberto674 wrote: With application A i would like to send messages, like WM_KEYDOWN or right button click, to appliaction B via its icon on the status bar. Get the HWND of Application B and use .. SendMessage(hWnd_B,WM_KEYDOWN,....); To Get The HWND of B application USE FindWindow Hope it Helps :) Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi

        C 1 Reply Last reply
        0
        • M Monty2

          roberto674 wrote: With application A i would like to send messages, like WM_KEYDOWN or right button click, to appliaction B via its icon on the status bar. Get the HWND of Application B and use .. SendMessage(hWnd_B,WM_KEYDOWN,....); To Get The HWND of B application USE FindWindow Hope it Helps :) Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi

          C Offline
          C Offline
          codevisio
          wrote on last edited by
          #4

          Sure, but the problem is the HWND from FindWindow is the handle of main application B. If application uses another window associates to at the icon on th status bar? the window that manages messages from mouse (right click and so on)... the HWND of the main application B cannot be the same the window that do this. can help me some shell functions for this? roberto

          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