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. ATL / WTL / STL
  4. how to send a broadcast message?

how to send a broadcast message?

Scheduled Pinned Locked Moved ATL / WTL / STL
performancetutorialquestion
3 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.
  • F Offline
    F Offline
    freehawk
    wrote on last edited by
    #1

    I want to send a broadcast message, and then a lot of windows can receive and re-display datas which is stored in same memory. How to do? Thanks.

    A 1 Reply Last reply
    0
    • F freehawk

      I want to send a broadcast message, and then a lot of windows can receive and re-display datas which is stored in same memory. How to do? Thanks.

      A Offline
      A Offline
      Abhishek Srivastava
      wrote on last edited by
      #2

      Hi mr hawk, use this SendMessage(HWND_BROADCAST,yourMsg, yourwParam , yourlParam); but this message should be a registered window message. coz this message should be unique so that every window can process it. you can use RegisterWindowMessage API to create your own unique message. :) Regards. Abhishek Srivastava Software Engg (VC++) India ,Noida Mobile no 9891492921 :)

      F 1 Reply Last reply
      0
      • A Abhishek Srivastava

        Hi mr hawk, use this SendMessage(HWND_BROADCAST,yourMsg, yourwParam , yourlParam); but this message should be a registered window message. coz this message should be unique so that every window can process it. you can use RegisterWindowMessage API to create your own unique message. :) Regards. Abhishek Srivastava Software Engg (VC++) India ,Noida Mobile no 9891492921 :)

        F Offline
        F Offline
        freehawk
        wrote on last edited by
        #3

        Thanks for your reply. It is useful to me and I will try it. Freehawk.

        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