Previews a keyboard message.
Syntax
Visual Basic (Declaration) | |
---|
Overrides Protected Function ProcessKeyPreview( _
ByRef m As Message _
) As Boolean |
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