Jump to content

Convert your normal scripts into EzSkin (Reloaded)...


Recommended Posts

I have a problem creating gui using the menu like modern menu

Have you an implementation which show how to use it ? i thionk i have problem with the synthax

OK, see:

Inside of the file: EzSkin_Preprocessor.au3

#Region CreateMenu
; ########## Added and modified by JScript of the original ModernMenu.au3, by Holger Kotsch ##########
; ======================================================================================================
; Functions for Skinned Menu
; ======================================================================================================

; #FUNCTION# ====================================================================================================================
; Name...........: _EzSkinCreateMenu
; Description ...: Creates a Skinned Menu control for the GUI.
; Syntax.........: _EzSkinCreateMenu( "submenutext" [, menuID [, menuentry [, IconFile [, IconID [, "StatusBarText" ]]]]] )
; Parameters ....: submenutext  - The submenu text.
;                  menuID       - [optional] If defined, allows you to create a submenu in the referenced menu.
;                                            If equal -1 it refers to first level menu.
;                  menuentry    - [optional] Allows you to define the entry number to be created. The entries are numbered starting at 0.
;                  IconFile     - [optional] Filename of the icon to be loaded.
;                  IconID       - [optional] Icon name if the file contain multiple icon. Can be an ordinal name if negative number. Otherwise -1.
;                  StatusBarText- [optional] It defines a text to be shown in the status bar.
; Return values .: Success      - Returns the identifier (controlID) of the new control.
;                  Failure      - Returns 0.
; Author ........: João Carlos (jscript)
; Modified.......:
; Remarks .......: Same as GUICtrlCreateMenu function.
; Related .......:
; Link ..........;
; Example .......; _EzSkinCreateMenu($sSubmenuText)
; ===============================================================================================================================
Func _EzSkinCreateMenu($SubMenuText = "", $MenuID = -1, $Menuentry = 0, $IconFile = '', $IconID = 0, $StatusBarText = "")

and in the AutoIt Help file


Creates a Menu control for the GUI.

GUICtrlCreateMenu ( "submenutext" [, menuID [, menuentry]] )

The only difference that exists is:

[, IconFile [, IconID [, "StatusBarText" ]]]]] )

Here it is an example: GUICtrlCreateMenu.zip


I hope to have helped.

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram


dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

Hi Jscript,

When you compile EZSKIN with the last beta version of Autoit you have this problem :


Line 22

Opt("OnExitFunc", "__EzSkinOnExitFunc") This option is know released on beta version

And is replace by OnAutoItExitRegister("__EzSkinOnExitFunc")

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

  • Recently Browsing   0 members

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