60000097 The JobKeyDown/JobKeyPress used to cancel ESC key

Article 60000097
Type Wish
Product Engine
Version 6005
Date Added 3/30/2007
Fixed (4/1/2007)
Submitted by Vysarion Giorspyros

Summary

The JobKeyDown/JobKeyPress used to cancel ESC key, but now they don't exist in version 6 so I cannot cancel the ESC key.

Solution


In version 6006


JobKeydown,JobKeypress and JobMouseDown was added.


Users of vdraw.ocx component must change the parameters of events as follow:


C++:


void JobMouseDown(LPCTSTR JobName,short Button, short Shift, double x, double y,short *cancel);


void JobKeyDown(LPCTSTR JobName,short* KeyCode, short Shift,short* cancel);


void JobKeyPress(LPCTSTR JobName,short* KeyAscii,short* cancel);


VB6:


Private Sub VDraw1_JobKeyDown(ByVal JobName As String, ByVal KeyCode As Integer, ByVal Shift As Integer, Cancel As Integer)

End Sub

Private Sub VDraw1_JobKeyPress(ByVal JobName As String, ByVal KeyAscii As Integer, Cancel As Integer)

End Sub

Private Sub VDraw1_JobMouseDown(ByVal JobName As String, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Double, ByVal y As Double, Cancel As Integer)

End Sub



 

Send comments on this topic.