Re: Can't make static reference to method ...

1999-02-01 Thread Steven Carstensen
First off, all class methods are NOT static. That's why you have to use the static keyword. Static implies that the method or member variable is a Class object, and will not be copied into instance space. Therefore, a static method has no enclosing instance of the class. What that means for you i

Can't make static reference to method ...

1999-02-01 Thread Karthik Vishwanath
stuff } } On compilation the compiler says: Can't make static reference to method void MakeControlWindow() in class myclass. I do not understand this. If i declare MakeWindow() as static void ... then the error disappears. I was o