Visual Basic Foro
Programación => Visual Basic 6 => Mensaje iniciado por: bebekbdg en Abril 17, 2011, 05:32:18 pm
-
i use UcListView http://www.leandroascierto.com.ar/categoria/Proyectos/articulo/Proyecto_2.php (http://www.leandroascierto.com.ar/categoria/Proyectos/articulo/Proyecto_2.php) . How do I use for the event keypress to deliver value = F5, Delete
-
Case WM_KEYUP
If (wParam And &H7FFF&) = &H74 Or (wParam And &H7FFF&) = &H2E Then
RaiseEvent KeyPress(wParam And &H7FFF&)
End If
RaiseEvent KeyUp(wParam And &H7FFF&, pvShiftState())
whether the code that I made this modification has been good. or there is a better?
because when i press Delete With Msgbox cursor not selected.
-
KeyPress only works with common keys (letters and digits). For every key use KeyDown or KeyUp
-
thank you boss. turns out the problem was there ... :) ;D ;D