Access controls on other forms

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

Is it possible to access controls on other forms when using managed C++? In
VB, it was a simple matter of declaring the form as global, but this is
apperently not possible when using managed code.

How does one modify or read control properties when the scope of the form is
limited to the function level?

I need to have several forms open at the same time and all interacting with
each other.
 
At your app level you need to save handles to your child forms.
Each form is based on a class so you'll need to declare public
methods that will allow access to the control externally.

I'm guessing to modify a control property in other form you'll
need to SendMessage targeting the control.
 
Back
Top