How do you determine if a window is hidden?

My question is pretty simple, but I can’t find an appropriate answer. Is there a Windows message that is passed to your window if it is completely covered by other windows? If there is no message, then how do you determine if your window is hidden?


the win32 call GetWindowRgn(hWnd,hRgn) gives you the current visible region. if this region is empty (=no visible areas) you’ll get NULLREGION as result value.

That looks like it should solve my problem, but it didn’t.

Can someone give me example code or functions I need to call before it? Thanks.

I’m sure there is a way to do this, but I can’t figure it out. One last bump…