Jump to content

GUI Problem


Sen
 Share

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?

Link to comment
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
    EndIf
EndFunc   ;==>BlockAltF4

Edit:

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

Edited by Sen
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...