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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham