Author Topic: Call class static function on window?  (Read 153 times)

TKasparek

  • Senior Community Member
  • Posts: 197
  • Hero Points: 25
Call class static function on window?
« on: March 01, 2019, 08:33:31 pm »
How do I call a class static member on a window?

Code: [Select]
class MyClass {
   static void Foo(int bar) {
      return;
   }
};

void MyFunc() {
   // This doesn't seem to work...
   p_window_id.MyClass.Foo(1);
}