Click here for NewsObjects Overview
IsValidWinId Method (Alert Control)
Windows - Visual C++


Description
The IsValidWinId method indicates whether the specified window ID identifies an open Alert Banner.

Syntax
BOOL result = IsValidWinId(long winID); 

The IsValidWinId syntax has these parts:

Part

Description

winID

A long integer. 

result

A Boolean containing TRUE if winID specifies a valid window ID or FALSE otherwise.

Remarks
This method, along with the GetMaxWindowId method, is used to iterate through the list of open Alert Banners.

When the NoFloat property is TRUE, the only valid window ID is 1.

See Also: AboutBox CloseAlertBox GetWindowCount OpenAlertBox TitleBar

Back to: Alert Methods