Jump to content

Skinning with SKF file?


=sinister=
 Share

Recommended Posts

Ok, I downloaded the mac skin and did the dll calls

Do
    SplashImageOn("", "./Images/Logo.jpg", -1, -1, -1, -1, 1)
    
    If FileExists("./Images/Logo.jpg") Then
    Else
    MsgBox(16, "Error", "Missing File:" & @LF & "/Images/Logo.jpg")
;Exit
    EndIf

    If FileExists("./Dll/Skin.dll") Then
    Else
    MsgBox(16, "Error", "Missing File:" & @LF & "/Dll/Skin.dll")
;Exit
    EndIf
    
Until SplashOff()

    #Include <GUIConstants.au3>
    #Include <./Variables.au3>
    #Include <./Functions.au3>
    $Dll = DllOpen("./Dll/Skin.dll")
DllCall($dll, "int", "InitLicenKeys", "int", BSTR("0"), "int", BSTR("SKINCRAFTER"), "int", BSTR("SKINCRAFTER.COM"), "int", BSTR("support@skincrafter.com"),"int", BSTR("DEMOSKINCRAFTERLICENCE"))
DllCall($Dll, "int", "DefineLanguage", "int", 0)
DllCall($Dll, "int", "InitDecoration", "int", 1)
DllCall($Dll, "int", "LoadSkinFromFile", "int", ("./Skins/Mac-style.sfk"))
DllCall($Dll, "int", "ApplySkin")

$GUI = GUICreate("WoW!Bot", 250, 250, -1, -1)
GUISetState(@SW_Show)
DllCall($Dll, "int", "UpdateControl", "int", 0)

While 1
    $Msg = GUIGetMsg()
Select
    Case $Msg = $GUI_Event_Close
    Quit()
EndSelect
WEnd

But the only window that pops up is mine with default skin and the Skin Builder one. (Note: I have the right functions in my Functions.au3 file) Any ideas?

Link to comment
Share on other sites

  • 16 years later...
  • Developers

@bundyal,
You will be getting an official medal in the post with some ribbons on it for:

  • resurrecting oldest post possible thus far.
  • Number of crossposts for the same question.

...and no, we are not really getting any smiles on our faces when doing so thus please don't anymore from here on.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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