Accessing a window from different window
-
1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?
-
1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?
What is the 'window object' you're talking about? CWnd instance? :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?
I suspect this is what you need: Passing Values between Forms in .NET 1.x with C# and VB.NET examples[^]
#region signature my articles #endregion
-
1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?
Do you need to handle to windows?