Spread Windows Forms 7.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 while 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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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