LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ProcessKeyPreview Method
See Also 
Leadtools.Medical.Workstation.UI Namespace > WorkstationViewer Class : ProcessKeyPreview Method




m
A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
m
A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
Previews a keyboard message.

Syntax

Visual Basic (Declaration) 
Overrides Protected Function ProcessKeyPreview( _
   ByRef m As Message _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WorkstationViewer
Dim m As Message
Dim value As Boolean
 
value = instance.ProcessKeyPreview(m)
C# 
protected override bool ProcessKeyPreview( 
   ref Message m
)
Managed Extensions for C++ 
protected: bool ProcessKeyPreview( 
   ref Message m
) override 
C++/CLI 
protected:
bool ProcessKeyPreview( 
   % Message m
) override 

Parameters

m
A System.Windows.Forms.Message, passed by reference, that represents the window message to process.

Return Value

true if the message was processed by the control; otherwise, false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also