Jump to content

Recommended Posts

  • 2 months later...
Posted

Guys!

How to colorize the GUICtrlCreateLabel using this UDF?

It does`t work.

For Example (with NoSkin)

GUICtrlCreateLabel("Rait:", 10, 130)
$Clr_Rait_Lab = GUICtrlCreateLabel("", 60, 133, 10, 10)
GUICtrlSetBkColor(-1, 0x800080)

No good in English :( If I write with errors, excuse me...

  • 2 years later...
Posted

Sorry, I don't want to arouse this topic.

How can I change the title of skincrafter, in this picture : Posted Image it seems to be doing very well, I tried but it does not work :

Posted Image

"SkinCrafter Demo ..." : How can I remove it ? Please help me find the right way, thank you !

Posted

Where's your script? It's probably something in the GUICreate function that's giving the GUI the title, but without your script it's impossible to say for sure.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted (edited)

Where's your script? It's probably something in the GUICreate function that's giving the GUI the title, but without your script it's impossible to say for sure.

It' SkinCrafter who add SkinCrafter Demo to the gui title.

I have tried a WinSetTitle after a WinWait ( $gui ) and WinSetTitle return 1 but title don't change...

It's like it was the skin title and not the gui title...

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Posted

Is it a cracked dll ?

i don't think they are tolerated in the forum !

I think Skin Crafter is quite expensive! It is not suitable for adding to the free application of AutoIT should have to use DLL Crack!

Posted (edited)

Same question here as for USkin. How to use skins from resources?

#AutoIt3Wrapper_Res_File_Add=SkinsPolarised.skf, RT_RCDATA, Skin_1
#AutoIt3Wrapper_Run_Obfuscator=y
#Obfuscator_Parameters=/sf /sv /om /cs=0 /cn=0
#AutoIt3Wrapper_Run_After=del /f /q "%scriptdir%%scriptfile%_Obfuscated.au3"
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_UPX_Parameters=--best --lzma

; AutoIt GUI Example
; Created: 17/01/2005 - CyberSlug
; Modifed: 05/01/2011 - guinness

#include <Constants.au3>
#include <WinAPI.au3>
#include <Array.au3>;~~~
#include <AVIConstants.au3>
#include <GuiConstantsEx.au3>
#include <TreeViewConstants.au3>
#include <WinAPIEx.au3>;~~~

Global $_SkinDll, $RT_RCDATA = 10

;~ $hResInfo = DllCall("kernel32.dll", "ptr", "FindResourceA", "ptr", 0, "str", "Skin_1", "long", $RT_RCDATA)
$hResInfo = DllCall('kernel32.dll', 'ptr', 'FindResourceW', 'ptr', 0, 'wstr', "Skin_1", 'int', $RT_RCDATA)
$hResInfo = $hResInfo[0] ; returns "0" or "5112912" wont load skin in v3.2.10.0
;~ MsgBox(262144,'Debug line ~' & @ScriptLineNumber,'Selection:' & @lf & '$hResInfo' & @lf & @lf & 'Return:' & @lf & $hResInfo) ;### Debug MSGBOX


#region
; GUI
$hGUI = GUICreate("Sample GUI", 400, 400)
GUISetIcon(@SystemDir & "mspaint.exe", 0)


; MENU
GUICtrlCreateMenu("Menu&One")
GUICtrlCreateMenu("Menu&Two")
GUICtrlCreateMenu("MenuTh&ree")
GUICtrlCreateMenu("Menu&Four")

; CONTEXT MENU
Local $iContextMenu = GUICtrlCreateContextMenu()
GUICtrlCreateMenuItem("Context Menu", $iContextMenu)
GUICtrlCreateMenuItem("", $iContextMenu) ; Separator
GUICtrlCreateMenuItem("&Properties", $iContextMenu)

; PIC
GUICtrlCreatePic("logo4.gif", 0, 0, 169, 68)
GUICtrlCreateLabel("Sample Pic", 75, 1, 53, 15)
GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetColor(-1, 0xFFFFFF)


; AVI
GUICtrlCreateAvi("SampleAVI.avi", 0, 180, 10, 32, 32, $ACS_AUTOPLAY)
GUICtrlCreateLabel("Sample avi", 175, 50)


; TAB
GUICtrlCreateTab(240, 0, 150, 70)
GUICtrlCreateTabItem("One")
GUICtrlCreateLabel("Sample Tab with tabItems", 250, 40)
GUICtrlCreateTabItem("Two")
GUICtrlCreateTabItem("Three")
GUICtrlCreateTabItem("")

; COMBO
GUICtrlCreateCombo("Sample Combo", 250, 80, 120, 100)

; PROGRESS
GUICtrlCreateProgress(60, 80, 150, 20)
GUICtrlSetData(-1, 60)
GUICtrlCreateLabel("Progress:", 5, 82)

; EDIT
GUICtrlCreateEdit(@CRLF & " Sample Edit Control", 10, 110, 150, 70)

; LIST
GUICtrlCreateList("", 5, 190, 100, 90)
GUICtrlSetData(-1, "A.Sample|B.List|C.Control|D.Here", "B.List")

; ICON
GUICtrlCreateIcon("explorer.exe", 0, 175, 120)
GUICtrlCreateLabel("Icon", 180, 160, 50, 20)

; LIST VIEW
Local $iListView = GUICtrlCreateListView("Sample|ListView|", 110, 190, 110, 80)
GUICtrlCreateListViewItem("A|One", $iListView)
GUICtrlCreateListViewItem("B|Two", $iListView)
GUICtrlCreateListViewItem("C|Three", $iListView)

; GROUP WITH RADIO BUTTONS
GUICtrlCreateGroup("Sample Group", 230, 120)
GUICtrlCreateRadio("Radio One", 250, 140, 80)
GUICtrlSetState(-1, $GUI_CHECKED)
GUICtrlCreateRadio("Radio Two", 250, 165, 80)
GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group

; UPDOWN
GUICtrlCreateLabel("UpDown", 350, 115)
GUICtrlCreateInput("42", 350, 130, 40, 20)
GUICtrlCreateUpdown(-1)

; LABEL
GUICtrlCreateLabel("Green" & @CRLF & "Label", 350, 165, 40, 40)
GUICtrlSetBkColor(-1, 0x00FF00)

; SLIDER
GUICtrlCreateLabel("Slider:", 235, 215)
GUICtrlCreateSlider(270, 210, 120, 30)
GUICtrlSetData(-1, 30)

; INPUT
GUICtrlCreateInput("Sample Input Box", 235, 255, 130, 20)

; DATE
GUICtrlCreateDate("", 5, 280, 200, 20)
GUICtrlCreateLabel("(Date control expands into a calendar)", 10, 305, 200, 20)

; BUTTON
GUICtrlCreateButton("Sample Button", 10, 330, 100, 30)

; CHECKBOX
GUICtrlCreateCheckbox("Checkbox", 130, 335, 80, 20)
GUICtrlSetState(-1, $GUI_CHECKED)

; TREEVIEW ONE
Local $iTreeView_1 = GUICtrlCreateTreeView(210, 290, 80, 80)
Local $iTreeItem = GUICtrlCreateTreeViewItem("TreeView", $iTreeView_1)
GUICtrlCreateTreeViewItem("Item1", $iTreeItem)
GUICtrlCreateTreeViewItem("Item2", $iTreeItem)
GUICtrlCreateTreeViewItem("Foo", -1)
GUICtrlSetState($iTreeItem, $GUI_EXPAND)

; TREEVIEW TWO
Local $iTreeView_2 = GUICtrlCreateTreeView(295, 290, 103, 80, $TVS_CHECKBOXES)
GUICtrlCreateTreeViewItem("TreeView", $iTreeView_2)
GUICtrlCreateTreeViewItem("With", $iTreeView_2)
GUICtrlCreateTreeViewItem("$TVS_CHECKBOXES", $iTreeView_2)
GUICtrlSetState(-1, $GUI_CHECKED)
GUICtrlCreateTreeViewItem("Style", $iTreeView_2)
#endregion


SkinCrafter_Init(@ScriptDir & "SkinCrafterDll_vs2005.dll")
SkinCrafter_LoadSkinFromResource($hResInfo)
;~ SkinCrafter_LoadSkinFromFile($hGUI, @ScriptDir & "SkinsPolarised.skf")
SkinCrafter_ApplySkin($hGUI)
GUISetState(@SW_SHOW)

; GUI MESSAGE LOOP
While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            GUIDelete()
            SkinCrafter_Terminate()
            Exit
    EndSwitch
WEnd

; http://forum.skincrafter.com/viewtopic.php?t=2244
Func SkinCrafter_Init($_SkinDllPath, $sRegName = 'SKINCRAFTER', $sCompany = 'SKINCRAFTER.COM', $sEmail = 'support@skincrafter.com', $sLicenseKey = 'DEMOSKINCRAFTERLICENCE', $bMode = True)
    $_SkinDll = DllOpen($_SkinDllPath)
    If $_SkinDll = -1 Then Return SetError(1, 0, 0)
    DllCall($_SkinDll, 'int:cdecl', 'InitLicenKeys', 'wstr', $sRegName, 'wstr', $sCompany, 'wstr', $sEmail, 'wstr', $sLicenseKey)
    DllCall($_SkinDll, 'int:cdecl', 'InitDecoration', 'bool', $bMode)
    Return 1
EndFunc

Func SkinCrafter_LoadSkinFromFile($_Hwnd, $_SkinFilePath)
    DllCall($_SkinDll, 'int:cdecl', 'LoadSkinFromFile', 'wstr', $_SkinFilePath)
    Return 1
EndFunc

Func SkinCrafter_LoadSkinFromResource($hResInfo)
    Local $aRet = DllCall($_SkinDll, 'int:cdecl', 'LoadSkinFromResource', 'int', 0, 'handle', $hResInfo)
    If $aRet[0] Then Return SetError(2, 0, 0)
    Return 1
EndFunc

Func SkinCrafter_ApplySkin($_Hwnd, $iType = 25)
    DllCall($_SkinDll, 'int:cdecl', 'DecorateAs', 'hwnd', $_Hwnd, 'int', $iType)
    DllCall($_SkinDll, 'int:cdecl', 'ApplySkin')
    Return 1
EndFunc

Func SkinCrafter_Terminate()
    DllCall($_SkinDll, 'int:cdecl', 'DeInitDecoration')
    DllCall($_SkinDll, 'int:cdecl', 'RemoveSkin')
    DllClose($_SkinDll)
    Return 1
EndFunc

Somebody knows it?

Further there is a undocumented function named LoadSkinFromData. Somebody knows something about it?

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

I think Skin Crafter is quite expensive! It is not suitable for adding to the free application of AutoIT should have to use DLL Crack!

If you can't afford it, don't use it, seems simple doesn't it? There are other skinning options available that don't require you to steal someone's property, see USkin for example.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

  • Moderators
Posted

MrVietA2,

Do not post cracked material on this forum again. :naughty:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • 11 months later...
Posted

Hi,

My SkinCrafter don't work. I have new autoit "project" with file:

- test.au3:

#include <Library\SkinCrafter.au3>
_LoadSkinCrafter("Library\SkinCrafterDll.dll")

$GUI_1 = GuiCreate("Test", -1, -1, 0, 0)
_InitializeSkinCrafter($GUI_1, "Zondar.skf")

GUICtrlCreateButton("Test", 50, 50, 50)
GUISetState()

While 1
   If GuiGetMsg()=-3 Then Exit
WEnd

and folder Library with 3 files:

- SkinCrafter.au3

- SkinCrafterDll_vs2008.dll

- SkinCrafterDll.dll

I try with both dll files but It's don't work. Someone can help me?

  • 3 years later...
  • Moderators
Posted

@Sergy did you notice the OP has not responded to any questions in almost 7 years? I doubt you are going to find much assistance. There are other skin UDFs out there if you do a forum search. I know both Yashied and JScript have posted them.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

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