Obsolete. Superseded by IPropertyManagerPage2Handler9::OnKeystroke.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function OnKeystroke( _
ByVal Wparam As System.Integer, _
ByVal Message As System.Integer, _
ByVal Lparam As System.Integer, _
ByVal Id As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2Handler8
Dim Wparam As System.Integer
Dim Message As System.Integer
Dim Lparam As System.Integer
Dim Id As System.Integer
Dim value As System.Boolean
value = instance.OnKeystroke(Wparam, Message, Lparam, Id) |
C++/CLI | |
---|
System.bool OnKeystroke(
& System.int Wparam,
& System.int Message,
& System.int Lparam,
& System.int Id
) |
Parameters
- Wparam
- wparam argument from Windows processing; indicates the keystroke that occurred
NOTE: From the standard set of virtual keys from Windows. Refer to the Virtual Key Code information from Microsoft documentation; for example, the Alt key is VK_MENU. - Message
Message being processed by Windows; one of these values:
-
WM_KEYDOWN 0x0100
-
WM_KEYUP 0x0101
-
WM_CHAR 0x0102
-
WM_DEADCHAR 0x0103
-
WM_SYSKEYDOWN 0x0104
-
WM_SYSKEYUP 0x0105
-
WM_SYSCHAR 0x0106
-
WM_SYSDEADCHAR 0x0107
- Lparam
- lparam argument from Windows processing; bitmask containing various pieces of information; dependent on specific message
- Id
- ID of the control that has focus when the keystroke was made; this is the ID specified when the control was created in IPropertyManagerPage2::AddControl or IPropertyManagerPage2::IAddControl or IPropertyManagerPage2::AddGroupBox or IPropertyManagerPage2::IAddGroupBox.
Return Value
True indicates that the keystroke has been handled by the add-in and SolidWorks should not continue to try to process it, false indicates that the keystroke has not been handled by the add-in and SolidWorks will continue to try to process it
Remarks
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0