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


Description
The GetMaxWindowId method returns the highest window ID of all open Alert Banners.

Syntax
long result = GetMaxWindowId();

The GetMaxWindowId syntax has these parts:

Part

Description

result

A long integer containing the highest window ID.

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

When the NoFloat property is TRUE, the highest window ID is always 1.

See Also: AboutBox CloseAlertBox GetWindowCount OpenAlertBox TitleBar

 Back to: Alert Methods