Version

InProgress(ColorPaletteEventIds) Method

Returns True if the event is in progress (in progress count > 0).
Syntax
'Declaration
 
Public Overloads Function InProgress( _
   ByVal eventid As ColorPaletteEventIds _
) As Boolean
public bool InProgress( 
   ColorPaletteEventIds eventid
)

Parameters

eventid
A value indicating the event to check.

Return Value

True if the specified event is currently being fired; False otherwise.
Remarks

Use this method to determine whether the code of an event is currently being executed. You may want to know whether an event is occurring before disabling it.

The "in progress" count is used to account for recursive calls to events. You can use it to determine how many nested calls to an event have been made and which level of recursion is now executing.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also