appo

Disables the mouse out of the window forms

Dec 27th, 2013
374
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var
  2. curs: TRect;
  3. begin
  4. SetWindowPos(Handle,HWND_TOPMOST,Left,Top,Width,Height,SWP_NOACTIVATE Or SWP_NOMOVE Or SWP_NOSIZE);
  5. curs := Rect(Form1.Left+0, Form1.Top+0, Form1.Left + Form1.Width-0, Form1.Top + Form1.Height-0);
  6. ClipCursor(@curs);
  7. end;
  8.  
  9. // Coded by Appo //
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×