Prod.: Engine, ver.: 6005, ID: 60000097, Wish : The JobKeyDown/JobKeyPress used to cancel ESC key

Wish : The JobKeyDown/JobKeyPress used to cancel ESC key

Article60000097
TypeWish
ProductEngine
Version6005
Date Added3/30/2007
FixedYes [4/1/2007]
Submitted byVysarion Giorspyros
Keywords

Subject

The JobKeyDown/JobKeyPress used to cancel ESC key

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