how to send a broadcast message?
-
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.
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 :)
-
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 :)