Re: Easy one: Communication in MDI



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
>


.



Relevant Pages

  • Re: Explorer.exe is using almost 3 gigs of my ram, help!
    ... After posting this thread I noticed the *windows.exe* process has ... that blanked out, However If I drag over the open IE window, then I get ... I was even able to take a Snag-it screen recording of it freaking ... NVIDIA GE FORCE 8800 GT 512 MB - DUAL DVI ...
    (microsoft.public.windows.vista.general)
  • Re: Opening hyperlinks in new or existing window
    ... If you want to exclude a domain from opening in a new window, ... I also noticed that if you want you can delete this much of the script from ... As you are giving credit to the author and dynamicdrive.com within the ... This posting may not be reversed engineered. ...
    (microsoft.public.publisher.webdesign)
  • Re: Connectivity, but cant browse or send/receive
    ... This posting is provided "AS IS" with no warranties, ... >> Is there any error when you could not connect to a web site via IE while ... >> Press DEL or click the Delete option at the top of the window. ... Close all the Internet Explorer window. ...
    (microsoft.public.windows.inetexplorer.ie6.setup)
  • Re: How to insert an event to win32 app?
    ... If you are using an older Visual Studio Version, there is a class wizad, ... that can be used to add message handlers. ... select the class in the class view and in the properties window you can ...
    (microsoft.public.vc.language)
  • Re: [ DirectShow ] How to always show Video Window within a dialog
    ... Calling these functions in WM_PAINT and WM_ERASEBKGND message handlers ... When I suddenly move the window while the video being paused, ... To always put owner of the video window to the picture control and set window ...
    (microsoft.public.win32.programmer.directx.video)