Re: Handling focus change on child frame
- From: "Tom Serface" <tom.nospam@xxxxxxxxxxxxx>
- Date: Mon, 17 Sep 2007 15:04:44 -0700
UpdateAllViews is certainly a good way to do it so long as you can call that from the document, although you can have a view call it from the document using the document pointer GetDocument(). I wouldn't have one view talk to another unless they are not in the same application. I sort of thought this was being done across applications that you control.
Tom
"Pedro Ferreira" <none@xxxxxxxx> wrote in message news:OWaNlmW%23HHA.748@xxxxxxxxxxxxxxxxxxxxxxx
Tom Serface wrote:You could just send a message from one window to the other (application or view) from the dialog with information about the data that needs to change. The change could come from fishing the data out of the document or by having a pointer to the data in the actual message.
Tom
Hello Tom, thanks for your reply.
Yes, I could do that. But what I was trying to do is to keep that away from the shared views since its just one application that needs that extra functionality.
I will probably end up doing just that. Or maybe use CDocument::UpdateAllViews with some hint data. Not sure if its a good thing though.
Pedro
.
- References:
- Handling focus change on child frame
- From: Pedro Ferreira
- Re: Handling focus change on child frame
- From: Tom Serface
- Re: Handling focus change on child frame
- From: Pedro Ferreira
- Handling focus change on child frame
- Prev by Date: Re: Handling focus change on child frame
- Next by Date: passing a string to a dll
- Previous by thread: Re: Handling focus change on child frame
- Next by thread: Re: Handling focus change on child frame
- Index(es):