IsActive Example (Visual Basic)
IsActive Example (Visual C++)