Sign in to follow this  
Followers 0
Sen

GUI Problem

2 posts in this topic

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



#2 ·  Posted (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 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  
Followers 0