Click here to Skip to main content
16,007,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Johan Rosengren10-Jul-04 23:15
Johan Rosengren10-Jul-04 23:15 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok10-Jul-04 23:52
ThatsAlok10-Jul-04 23:52 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok10-Jul-04 23:00
ThatsAlok10-Jul-04 23:00 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Johan Rosengren10-Jul-04 23:10
Johan Rosengren10-Jul-04 23:10 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok10-Jul-04 23:45
ThatsAlok10-Jul-04 23:45 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Johan Rosengren11-Jul-04 0:16
Johan Rosengren11-Jul-04 0:16 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok11-Jul-04 0:42
ThatsAlok11-Jul-04 0:42 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Johan Rosengren11-Jul-04 1:10
Johan Rosengren11-Jul-04 1:10 
Ah, finally, we are getting somewhere!

HWND_BROADCAST is something that should be used with some care - all windows receive it and you must make sure that the registered message does not conflict with any other messages in the system (that is, someoneelse has registered the same message). It will, however, not make any difference for the receive mechanism. Do the steps I outlined, replace the PostMessage with our own broadcast, and you will see the message box, the message is received.

You find the window the way I showed - by calling FindWindow. Enter the class of the dialog (normally #32770, use Spy++ to get the class of your dialog) and the title.
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok11-Jul-04 2:06
ThatsAlok11-Jul-04 2:06 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Johan Rosengren11-Jul-04 2:48
Johan Rosengren11-Jul-04 2:48 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok11-Jul-04 3:07
ThatsAlok11-Jul-04 3:07 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Johan Rosengren11-Jul-04 5:58
Johan Rosengren11-Jul-04 5:58 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok11-Jul-04 6:10
ThatsAlok11-Jul-04 6:10 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Johan Rosengren11-Jul-04 6:15
Johan Rosengren11-Jul-04 6:15 
GeneralAtlast Our Discussion End. Pin
ThatsAlok11-Jul-04 21:45
ThatsAlok11-Jul-04 21:45 
GeneralRe: Atlast Our Discussion End. Pin
Johan Rosengren11-Jul-04 21:52
Johan Rosengren11-Jul-04 21:52 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
parths11-Jul-04 0:36
parths11-Jul-04 0:36 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok11-Jul-04 0:54
ThatsAlok11-Jul-04 0:54 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
bikram singh11-Jul-04 3:59
bikram singh11-Jul-04 3:59 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
Michael P Butler10-Jul-04 3:42
Michael P Butler10-Jul-04 3:42 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok10-Jul-04 5:00
ThatsAlok10-Jul-04 5:00 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
bikram singh11-Jul-04 3:53
bikram singh11-Jul-04 3:53 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok11-Jul-04 6:04
ThatsAlok11-Jul-04 6:04 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
bikram singh11-Jul-04 9:05
bikram singh11-Jul-04 9:05 
GeneralRe: A intresting problem,hope any Felloow Programmer solve it Pin
ThatsAlok11-Jul-04 21:40
ThatsAlok11-Jul-04 21:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.