Jump to content

Need help with flash window DLL


Recommended Posts

here is the code I have.

$a = DllOpen("user32.dll")
$gui = GUICreate("", 200, 200)
;Declare Function FlashWindow Lib "user32" Alias "FlashWindow"
;(ByVal hwnd As Long, ByVal bInvert As Long) As Long
GUISetState()
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = -3
            Exit
    EndSelect
    Sleep(100)
    DllCall($a, "int", "FlashWindow", "int", $gui, "long", "TRUE")
WEnd

I am just tring to learn how to do some of the dlls and I thought that this one would be useful. For more info on this dll then go here. http://www.mentalis.org/apilist/Flashwindow.shtml or http://msdn.microsoft.com/library/default....flashwindow.asp Thank you for any help I get on this.

.

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...