Jump to content

Skinning projects


Recommended Posts

Hello everyone

I have been wondering how would I skin my projects? I have seen it done with a live streaming viewer (it was a project based on tiny shoutcast tuner but I dont remember what it is called). It makes use of a .she file. The guy had a link for a skinning program, but he did not name it and the link no longer is valid. How can I skin my projects?

Thanks.

Michael Thompson

Link to comment
Share on other sites

hey !

you will need a dll file named SkinH_EL.dll

and one of many existing skin files (SHE extension)

I personnally downloaded everything from http://www.downyi.com/downinfo/15779.html in the past... chinese website, is it trustable? I really don't know..

by the way, I still have the files on hard drive, I could email them to you if you want.

Here's a testing code snippet provided by wakillon some time ago

#include <WindowsConstants.au3>
#include <GuiListView.au3>
#include <String.au3>
#include <Array.au3>
#include <File.au3>

Global $_DllFilePath = @ScriptDir & '\SkinH_EL.dll'
Global $_SheSkinListDir = @ScriptDir & '\Skins' ; .she files folder
$_SheSkinListArray = _FileListToArray ( $_SheSkinListDir, '*.she', 1 );_ArrayDisplay ( $_SheSkinListArray )
_FileInstall ( )

            GUICreate ( "Try All This .She Skins...", 470, 280 )
             GUIRegisterMsg ( $WM_NOTIFY, "_WnNotify" )
$_ListView = GUICtrlCreateListView ( ".She Skins List", 280, 5, 185, 250 )
            _GUICtrlListView_SetColumnWidth ( $_ListView, 0, $LVSCW_AUTOSIZE_USEHEADER )
            _CreateListViewItem ( $_ListView, $_SheSkinListArray )
            GUICtrlCreateInput ( "Input1", 40, 40, 100, 21 )
            GUICtrlCreateCombo ( "Combo1", 40, 100, 100, 25 )
            GUICtrlSetData ( -1, "Combo2|Combo3|Combo4|Combo5|Combo6|Combo7|Combo8|Combo9|Combo10" )
            GUICtrlCreateButton ( "Button1", 30, 220, 75, 30, $WS_GROUP )
            GUICtrlCreateButton ( "Button2", 180, 220, 75, 30, $WS_GROUP )
            GUICtrlCreateCheckbox ( "Checkbox1", 150, 40, 80, 17 )
            GUICtrlCreateRadio ( "Radio1", 150, 100, 80, 17 )
            GUICtrlCreateProgress ( 40, 150, 200, 20 )
            GUICtrlSetData ( -1, 50 )
            GUICtrlCreateGroup ( "Group1", 10, 10, 249, 193 )
            GUISetState ( )

Do
    Sleep ( 50 )
Until GUIGetMsg ( ) = -3

Exit

Func _WnNotify ( $_Wnd, $_Msg, $_WParam, $_LParam )
    $_Tnmtv = DllStructCreate ( $tagNMTVDISPINFO, $_LParam )
    $_Code = DllStructGetData ( $_Tnmtv, "Code" )
    $_Index = _GUICtrlListView_GetSelectedIndices ( $_ListView )
    If $_Code = $NM_DBLCLK And StringLen ( $_Index ) <> 0 Then _
    _SkinGui ( $_SheSkinListDir & '\' & _GUICtrlListView_GetItemText ( $_ListView, Number ( $_Index ) ) )
EndFunc ;==> _WnNotify ( )

Func _SkinGui ( $_SheSkinFilePath )
    $Dll = DllOpen ( $_DllFilePath )
    DllCall ( $Dll, "int", "SkinH_AttachEx", "str", $_SheSkinFilePath, "str", "mhgd" )
    DllCall ( $Dll, "int", "SkinH_SetAero", "int", 1 )
EndFunc ;==> _SkinGui ( )

Func _FileInstall ( )
    FileInstall ( "SkinH_EL.dll", $_DllFilePath )
EndFunc ;==> _FileInstall ( )

Func _CreateListViewItem ( $_ListViewId, $_ListArray )
    For $_I = 1 To UBound ( $_ListArray ) -1
       GUICtrlCreateListViewItem ( _StringProper ( $_ListArray[$_I] ), $_ListViewId )
    Next
EndFunc ;==> _CreateListViewItem ( )

Let me know!

Link to comment
Share on other sites

about the skin dll.....

i found something that i realy din't like :unsure:

http://comprolive.com/remove/trojan/hupigon/skinh-el-dll

this says that is opens a backdoor :S

just something to think about;)

as finishing touch god created the dutch

Link to comment
Share on other sites

  • 1 month later...

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