MDI question
-
Hi, I have an MDI application. Suppose the user starts searching for something on one view. Then he/she switches over to another view. Obisouly, since the find dialog was launched with the other view, it won't be associated with the new one. But what if I wanted this to be the case? how do I make a find dialog launched in one view, to be associated with another view whenever the second view becomes active? thanks
-
Hi, I have an MDI application. Suppose the user starts searching for something on one view. Then he/she switches over to another view. Obisouly, since the find dialog was launched with the other view, it won't be associated with the new one. But what if I wanted this to be the case? how do I make a find dialog launched in one view, to be associated with another view whenever the second view becomes active? thanks
The dialog communicates with the application using Windows Messages. Define the message handlers on the level of views, then the messages from the search dialog will be received by the current top view. Sonork 100.15206;PavelK