Method: WinWindow#real_class_name

Defined in:
lib/winwindow.rb

#real_class_nameObject

retrieves a string that specifies the window type

msdn.microsoft.com/en-us/library/ms633538(VS.85).aspx



531
532
533
534
535
536
# File 'lib/winwindow.rb', line 531

def real_class_name
  buff_size=256
  buff=" "*buff_size
  len=WinUser.RealGetWindowClassA(hwnd, buff, buff_size)
  @real_class_name=buff.to_s[0...len]
end