IsWindowVisible will return false, if is has been SW_SHOWn but its parent is hidden

to find out whether the window itself would be visible if its parent was visible would be
...