The Difference Between Application And Window?

Hi !
is there any way to distinguish between structures Application or Windows ?
Example:

Win1 Application
..
Win2 Window
...
  Code
  SetStatusBar(Win1) 
  SetStatusBar(Win2)
...

SetStatusBar Procedure(Window WorkWin)
  Code
  If WorkWin{Prop:???} - Application or Window ?

Thanks for the idea!

case WorkWin{PROP:Type}
of CREATE:Application 
  !!
of CREATE:Window
  !!
end
2 Likes

Thanks ! I have always applied {PROP:Type} only to on-screen controls, but not to the window … :slight_smile: