>I try to know how the user wants to display my app. at startup.
>In a Shortcut you have the "run property".
>When the value is minimize or normal, the property _SCREEN.WindowState of VFP return 0. It never return 1 for minimize.
_SCREEN.WindowState is not always reliable. Besides, why would you want your app to open minimized, anyway?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.