Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Event Notification in C++ Pin
Sam C9-Oct-01 11:01
Sam C9-Oct-01 11:01 
GeneralRe: Event Notification in C++ Pin
Nemanja Trifunovic9-Oct-01 11:19
Nemanja Trifunovic9-Oct-01 11:19 
GeneralRe: Event Notification in C++ Pin
Sam C9-Oct-01 11:38
Sam C9-Oct-01 11:38 
GeneralRe: Event Notification in C++ Pin
Nemanja Trifunovic9-Oct-01 11:49
Nemanja Trifunovic9-Oct-01 11:49 
GeneralChanging the font for menus Pin
Stephen Wilson9-Oct-01 8:47
Stephen Wilson9-Oct-01 8:47 
GeneralRe: Changing the font for menus Pin
Tomasz Sowinski9-Oct-01 8:56
Tomasz Sowinski9-Oct-01 8:56 
QuestionIs a window title the same as the .exe name? Pin
9-Oct-01 7:49
suss9-Oct-01 7:49 
AnswerRe: Is a window title the same as the .exe name? Pin
Christian Graus9-Oct-01 11:48
protectorChristian Graus9-Oct-01 11:48 
If you're enumerating open windows and getting the HWND from the Window title, then you should have no trouble sending data to whichever window you want. The problem you have is that you specify a HWND in WM_COPYDATA, therefore you send the message to one Window only. You can do one of two things:

1/ Enumerate Windows and send the message to all the Windows that may want it, or

2/ If you always have the same number of windows up you can set up a chain where the message gets passed on if it's not needed.



Christian

As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.

Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
GeneralRe: Is a window title the same as the .exe name? Pin
9-Oct-01 13:54
suss9-Oct-01 13:54 
GeneralRe: Is a window title the same as the .exe name? Pin
Christian Graus9-Oct-01 14:29
protectorChristian Graus9-Oct-01 14:29 
GeneralRe: Is a window title the same as the .exe name? Pin
9-Oct-01 16:23
suss9-Oct-01 16:23 
GeneralRe: Is a window title the same as the .exe name? Pin
Christian Graus9-Oct-01 17:30
protectorChristian Graus9-Oct-01 17:30 
GeneralRe: Is a window title the same as the .exe name? Pin
9-Oct-01 18:42
suss9-Oct-01 18:42 
GeneralPrinter port in Win2000 Pin
jancsi9-Oct-01 6:33
jancsi9-Oct-01 6:33 
QuestionHow to communicate between Primary and Extension SnapIn Pin
9-Oct-01 6:19
suss9-Oct-01 6:19 
GeneralFor DirectShow experts only! Pin
jancsi9-Oct-01 6:02
jancsi9-Oct-01 6:02 
GeneralSounds in CHtmlView Pin
CD9-Oct-01 5:38
CD9-Oct-01 5:38 
QuestionHow do I get a TreeView object? Pin
9-Oct-01 4:26
suss9-Oct-01 4:26 
GeneralClosing an application... Pin
Özgür9-Oct-01 4:19
Özgür9-Oct-01 4:19 
GeneralRe: Closing an application... Pin
Carlos Antollini9-Oct-01 4:55
Carlos Antollini9-Oct-01 4:55 
GeneralThumbNail Viewer Pin
9-Oct-01 4:17
suss9-Oct-01 4:17 
GeneralRe: ThumbNail Viewer Pin
Chris Losinger9-Oct-01 4:29
professionalChris Losinger9-Oct-01 4:29 
GeneralRe: ThumbNail Viewer Pin
9-Oct-01 4:52
suss9-Oct-01 4:52 
GeneralRe: ThumbNail Viewer Pin
Not Active10-Oct-01 3:35
mentorNot Active10-Oct-01 3:35 
QuestionRefrences in VB and what in VC++? Pin
Ahmad999-Oct-01 4:01
Ahmad999-Oct-01 4:01 

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.