Hey Ed ---
>>I have a problem with detecting rom within my app when the main VFP window is restored from icon to normal state. In my app I tried to manage the refresh() and Paint() methods but no one is fired when the main window is restored. Please advise me how can I detect the event of user's managing of main VFP window. I do not want to create the timer and trap the WindowState property of _screen object.
>
>_SCREEN doesn't have events to intercept, so if you don't want to use timer, the next step might be using top-level form design.
I don't have access to VFP right now but couldn't this problem be resolved in VFP 6.0 by _access or _assign events on _SCREEN properties (can events like that be done in code maybe?)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05