User32AnyPopup Method
Note: This API is now obsolete.
Indicates whether an owned, visible, top-level pop-up, or overlapped window exists on the screen.
The function searches the entire screen, not just the calling application's client area.
This function is provided only for compatibility with 16-bit versions of Windows. It is generally not useful.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", ExactSpelling = true)]
[ObsoleteAttribute("This function is provided only for compatibility with 16-bit versions of Windows. It is generally not useful.",
false)]
public static bool AnyPopup()
<DllImportAttribute("User32.dll", ExactSpelling := true>]
<ObsoleteAttribute("This function is provided only for compatibility with 16-bit versions of Windows. It is generally not useful.",
false)>
Public Shared Function AnyPopup As Boolean
Dim returnValue As Boolean
returnValue = User32.AnyPopup()
public:
[DllImportAttribute(L"User32.dll", ExactSpelling = true)]
[ObsoleteAttribute(L"This function is provided only for compatibility with 16-bit versions of Windows. It is generally not useful.",
false)]
static bool AnyPopup()
[<DllImportAttribute("User32.dll", ExactSpelling = true)>]
[<ObsoleteAttribute("This function is provided only for compatibility with 16-bit versions of Windows. It is generally not useful.",
false)>]
static member AnyPopup : unit -> bool
No code example is currently available or this language may not be supported.
Return Value
Boolean
If a pop-up window exists, the return value is
,
even if the pop-up window is completely covered by other windows.
If a pop-up window does not exist, the return value is
.