Version

OnMessage Method (QTPContextRecordProxyBase)

To catch window massages you should implement this method. Please note: This method is called just in case the CustomServer is running under QuickTest process.
Syntax
'Declaration
 
Public Overrides Function OnMessage( _
   ByRef tMsg As System.Windows.Forms.Message _
) As Mercury.QTP.CustomServer.RecordStatus
public override Mercury.QTP.CustomServer.RecordStatus OnMessage( 
   ref System.Windows.Forms.Message tMsg
)

Parameters

tMsg
Requirements

Target Platforms: 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