gaby90boy Posted June 27, 2007 Report Posted June 27, 2007 ok well first of add a moduleand in the module add this codePublic Type RECTLeft As LongTop As LongRight As LongBottom As LongEnd TypePublic Declare Function ClipCursor Lib "user32" (lpRect As Any) As Longthen go to the main form and add a timer interval 1double click it and add this codeDim ClipCur As RECTClipCur.Top = 200ClipCur.Left = 200ClipCur.Bottom = 200ClipCur.Right = 200Call ClipCursor(ClipCur)now this code will freeze your mouse in any windows o/s i have tried includeing xp and vista so have fun-DeadRabit- Quote
Tot_zeu Posted September 13, 2007 Report Posted September 13, 2007 Mult mai bun Apiul Blockinput...si mai scurt decat sa declari toate variabilele de tipul Rect Quote
Nytro Posted September 15, 2007 Report Posted September 15, 2007 ca sa opresti asta inchizi procesu si apesi click dreapta ( parca ) ... functioneaza... Quote