Sign in to follow this  
Followers 0
James

ModernMenu fix

1 post in this topic

#1 ·  Posted (edited)

Hey all,

I am in need of ModernMenu for my latest project :)

Here are th errors I got when I tried to run it with BetaPad:

C:\Program Files\AutoIt3\Include\ModernMenu.au3(7,35) : ERROR: $ILC_MASK previously declared as a 'Const'
Global Const $ILC_MASK              = 0x0001
~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(8,37) : ERROR: $ILC_COLOR32 previously declared as a 'Const'
Global Const $ILC_COLOR32           = 0x0020
~~~~~~~~~~~~~~~~~~~~~~~~~           ~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(10,40) : ERROR: $ILD_TRANSPARENT previously declared as a 'Const'
Global Const $ILD_TRANSPARENT       = 0x0001
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       ~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(18,38) : ERROR: $SRCCOPY previously declared as a 'Const'
Global Const $SRCCOPY               = 0x00CC0020
~~~~~~~~~~~~~~~~~~~~~               ~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(25,37) : ERROR: $WM_DRAWITEM previously declared as a 'Const'
Global Const $WM_DRAWITEM           = 0x002B
~~~~~~~~~~~~~~~~~~~~~~~~~           ~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(26,39) : ERROR: $WM_MEASUREITEM previously declared as a 'Const'
Global Const $WM_MEASUREITEM        = 0x002C
~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(32,33) : ERROR: $SM_CXSMICON previously declared as a 'Const'
Global Const $SM_CXSMICON           = 49
~~~~~~~~~~~~~~~~~~~~~~~~~           ~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(33,35) : ERROR: $SM_CXMENUCHECK previously declared as a 'Const'
Global Const $SM_CXMENUCHECK        = 71
~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(42,40) : ERROR: $DT_VCENTER previously declared as a 'Const'
Global Const $DT_VCENTER            = 0x00000004
~~~~~~~~~~~~~~~~~~~~~~~~            ~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(43,43) : ERROR: $DT_SINGLELINE previously declared as a 'Const'
Global Const $DT_SINGLELINE         = 0x00000020
~~~~~~~~~~~~~~~~~~~~~~~~~~~         ~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(44,40) : ERROR: $DT_NOCLIP previously declared as a 'Const'
Global Const $DT_NOCLIP             = 0x00000100
~~~~~~~~~~~~~~~~~~~~~~~             ~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(46,34) : ERROR: $COLOR_MENUTEXT previously declared as a 'Const'
Global Const $COLOR_MENUTEXT        = 7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~^
C:\Program Files\AutoIt3\Include\ModernMenu.au3(47,35) : ERROR: $COLOR_GRAYTEXT previously declared as a 'Const'
Global Const $COLOR_GRAYTEXT        = 17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~^
D:\Programming\AutoIt\Betapad\Betapad.au3(313,56) : ERROR: _GUICtrlStatusBarSetText(): undefined function.
            _GUICtrlStatusBarSetText($StatusBar, "Encrypted!", 1)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:\Programming\AutoIt\Betapad\Betapad.au3 - 14 error(s), 0 warning(s)

Any ideas? I did try to fix it, but I have no ideas what so ever.

Done it!

I will make a new topic in the Examples for it (Safety)

Edited by JamesB

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
Sign in to follow this  
Followers 0