كيف يتم أقفال ازرار أو مفاتيح الكيبورد الحروف والأرقام منها وأمكانية تحريك الماوس
كيف يتم أقفال ازرار الكيبورد
مغلق
Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Sub Form_Activate() DoEvents 'block the mouse and keyboard input BlockInput True 'wait 10 seconds before unblocking it Sleep 10000 'unblock the mouse and keyboard input BlockInput False End Sub
تم تعديل هذه المشاركة بواسطة fedodedo4 في 12 سبتمبر 2004 في 19:28
'Declarations No declarations 'Code: Private Sub Form_Load() shell "rundll32.exe keyboard,disable", vbNormalFocus shell "rundll32.exe mouse,disable", vbNormalFocus End Sub
تم تعديل هذه المشاركة بواسطة fedodedo4 في 12 سبتمبر 2004 في 19:28
هذا الموضوع مغلق.