Re: Easy one: Communication in MDI
- From: "Johan Rosengren" <johan.rosengren@xxxxxxxxx>
- Date: Thu, 16 Jun 2005 18:01:07 +0200
Josh,
Both posting and sending messages should work. First of all, make sure the
message handlers are working. I would test this by, for example, posting a
message to the focused window, making sure that the view in case was
selected. Check so that the message handlers are correctly declared.
You might after this want to try SendMessageToDescendants, recursing all
children. Make sure that the messages you are using are not used for
something else! I would use RegisterWindowsMessage for this.
Johan Rosengren
Abstrakt Mekanik AB
<darsant@xxxxxxxxx> skrev i meddelandet
news:1118857381.643244.151430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Unfortunately the previous program had already overridden that function
> with calls to the individual functions within the main window to handle
> the writing of the new data.
>
> While in the long run I will phase out these functions, currently I am
> only changing one of the MDI windows to the object format. I'd like to
> push forward but don't have the time to redesign the entire thing.
>
> Posting / Sending messages to child windows does not appear to be
> working. Can you offer any other ways than UpdateAllViews to update one
> child window?
>
> Thanks,
> Josh McFarlane
>
.
- References:
- Easy one: Communication in MDI
- From: darsant@xxxxxxxxx
- Re: Easy one: Communication in MDI
- From: Johan Rosengren
- Re: Easy one: Communication in MDI
- From: darsant@xxxxxxxxx
- Easy one: Communication in MDI
- Prev by Date: Re: NTDLL exception
- Next by Date: Re: Does ocx in VB forgets DLL loaded...
- Previous by thread: Re: Easy one: Communication in MDI
- Next by thread: Debugging an MFC app with WinDbg
- Index(es):
Relevant Pages
|