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. Way of the messages and effect on other applications

Way of the messages and effect on other applications

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

    Hi everybody, I see how the messages travels down in the own application. But a special key combination (Ctrl+Shift+R) should launch a tool into my application, but it opens a functionality of another application ... How can i route the message that it will directly traited by my own application? Big thanks for any help :)

    D A 2 Replies Last reply
    0
    • B baerten

      Hi everybody, I see how the messages travels down in the own application. But a special key combination (Ctrl+Shift+R) should launch a tool into my application, but it opens a functionality of another application ... How can i route the message that it will directly traited by my own application? Big thanks for any help :)

      D Offline
      D Offline
      Dr Emmett Brown
      wrote on last edited by
      #2

      Use RegisterHotKey(HWND hWnd,int id,UINT fsModifiers,UINT vk) to register global hotkeys. Then handle the message WM_HOTKEY to do what you want. When you don't need your hotkey anymore, call UnregisterHotKey(HWND hWnd,int id);

      rotter

      1 Reply Last reply
      0
      • B baerten

        Hi everybody, I see how the messages travels down in the own application. But a special key combination (Ctrl+Shift+R) should launch a tool into my application, but it opens a functionality of another application ... How can i route the message that it will directly traited by my own application? Big thanks for any help :)

        A Offline
        A Offline
        Ali Rafiee
        wrote on last edited by
        #3

        Are you using an accelerator table to catch the Ctrl+Shift+R key? If no then that's where I would start.

        AliR. Visual C++ MVP

        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