Jump to content
Sign in to follow this  

GUI Problem

Recommended Posts


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?

Share this post

Link to post
Share on other sites

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
EndFunc   ;==>BlockAltF4


Only works for the "X".. -.-"

Edited by Sen

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.