How do you find out if a window is visible? Do you use the IsWindowVisible API? Or do you call ShowWindow with a special flag that says, "Don't show the window, just tell me if it is showing."