Controlling form controls from other classes
Posted on 2003-03-14
Maybe this is a stupid question, maybe not...
I am working with a program that has multiple tree controls.
I want to create a seperate class, in a seperate namespace, that would allow me to control these tree controls.
I know I can do this with static methods inside a seperate class but...
What I would like to do is pass a reference to the tree control into a new instance of the class object and manipulate the control from within the new instance.
I would really like to know how to do this just for the knowledge.
I have been playing around with it all day and can't quite get it.