In the form's Resize event, try
this.visible = this.windowstate # 1
>Thank you for your suggestion. I am looking through all the form events and can't find one that fires when user clicks on Minimize button. Do you know which one I am missing?
>
>>Set visible to .F. when it gets minimized, .T. otherwise.
>>
>>Jim
>>
>>>I have a small application consisting of just one form/window. The form has the following properties:
>>>
>>>
>>>.ShowWindow = 2 - As Top Level Form.
>>>.ShowInTaskBar = .F.
>>>.WindowType = 1 - Modal
>>>
>>>
>>>The problem is when a user minimizes the form/application it is shown above the Windows Task Bar minimized. I don't like it. How can I make the minimized icon/window not to be displayed? (I actually have a system tray icon indicating that the application is running and that is enough for me).
>>>
>>>Thank you for any suggestions.
Jim Nelson
Newbury Park, CA