Sen Posted November 27, 2009 Share Posted November 27, 2009 I have a little Problem, i am working on a LogIn Screen Tool named DeskLock. I allready work with the WinLock.dll and all, my last Problem is just that i cant find a way to disable "Alt F4" on my GUI. Anyone got an idear? Link to comment Share on other sites More sharing options...
Sen Posted November 27, 2009 Author Share Posted November 27, 2009 (edited) I just solved this Problem myself x'D Just add this: GUIRegisterMsg($WM_NCLBUTTONDOWN, "BlockAltF4") And this Func: Func BlockAltF4($hWnd, $Msg, $WParam, $LParam) $nID = BitAND($WParam, 0x0000FFFF) If $nID = 20 Then Return 0 EndIf EndFunc ;==>BlockAltF4 Edit: Only works for the "X".. -.-" Edited November 27, 2009 by Sen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now