Thank you. The only thing I don't understand is that what is the difference between vbMinimizedFocus and vbMinimizedNoFocus? Max and min refers to size of the window, but what is the meaning of focus? They seem to do the same thing, hence it confuses me about the meaning of focus. Thank you very much for your answer.