Spread Windows Forms 6.0 Product Documentation
PreFilterMessage Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > PopupWindowHelperMessageFilter Class : PreFilterMessage Method


m
Windows Message about to be processed by the message loop

Glossary Item Box

Checks the message loop for mouse messages whilst the popup window is displayed. If one is detected the position is checked to see if it is outside the form, and the owner is notified if so.

Syntax

Visual Basic (Declaration) 
Public Function PreFilterMessage( _
   ByRef m As Message _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As PopupWindowHelperMessageFilter
Dim m As Message
Dim value As Boolean
 
value = instance.PreFilterMessage(m)
C# 
public bool PreFilterMessage( 
   ref Message m
)

Parameters

m
Windows Message about to be processed by the message loop

Return Value

true to filter the message, false otherwise. This implementation always returns false.

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.