getinteger()如何实现按Esc键退出
<P>使用getinteger函数后</P><P>我想实现按Esc键取消,请问该怎么做</P>
<P>谢谢</P> <P>Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer</P>
<P> Private Const VK_ESCAPE = &H1B</P>
<P><BR> </P>
<P>If GetAsyncKeyState(VK_ESCAPE) Then<BR>...........<BR>End If</P> <P>3ku</P>
<P>我现在暂时用的是on error resume next</P>
<P> </P>
<P>if err.number=??? then</P>
<P> </P>
页:
[1]