|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IsWindowVisible
The IsWindowVisible function retrieves the visibility state of the specified window.
BOOL IsWindowVisible(
HWND hWnd
| // handle of window
| );
|
|
Parameters
hWnd
Identifies the window.
Return Values
If the specified window and its parent window have the WS_VISIBLE style, the
return value is nonzero.
If the specified window and its parent window do not have the WS_VISIBLE
style, the return value is zero. Because the return value specifies whether the
window has the WS_VISIBLE style, it may be nonzero even if the window is totally
obscured by other windows.
Remarks
The visibility state of a window is indicated by the WS_VISIBLE style bit.
When WS_VISIBLE is set, the window is displayed and subsequent drawing into it is
displayed as long as the window has the WS_VISIBLE style.
Any drawing to a window with the WS_VISIBLE style will not be displayed if the
window is obscured by other windows or is clipped by its parent window.
See Also
ShowWindow
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|