Jump to content
abdulrahmanok

Can't Minimize Gui DLL skin

Recommended Posts

abdulrahmanok

Welcome brothers,

I have used ".skf" skins and it's working smoothly but when try to Minimize Gui it's stop all program and I can't close it without task manager

this is my source code:
 

#include <GUIConstants.au3>

#include <GUIConstantsEx.au3>
$MyGui = GUICreate("Login", 432, 282, -1, -1, -1, -1)
$DLL = DllOpen("Skin.dll")
DllCall($DLL, "int:cdecl", "InitLicenKeys", "wstr", "SKINCRAFTER", "wstr", "SKINCRAFTER.COM", "wstr", "support@skincrafter.com", "wstr", "DEMOSKINCRAFTERLICENCE")
DllCall($DLL, "int:cdecl", "InitDecoration", "int", 1)
DllCall($DLL, "int:cdecl", "LoadSkinFromFile", "wstr", "Stormy.skf")
DllCall($DLL, "int:cdecl", "ApplySkin")
DllCall($DLL, "int:cdecl", "DecorateAs", "long", $MyGui, "long", 1)
$iIndex_Base = GUICtrlCreateDummy()
$login = GUICtrlCreateButton("Login",67,220,100,30,-1,-1)
$CreateNewACC = GUICtrlCreateButton("Create New ACC",214,220,100,30,-1,-1)
$Delete = GUICtrlCreateButton("Delete",320,40,100,30,-1,-1)
$Edit = GUICtrlCreateButton("Edit",320,85,100,30,-1,-1)
GUISetState(@SW_SHOW, $MyGui)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

Required files are Attached.

Login Gui.rar

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

×

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.