Jump to content

Recommended Posts

Posted

I am having errors such as:

C:\AutoMDP\AE27.au3(101,60) : WARNING: $BS_ICON: possibly used before declaration.
$IconNew = GUICtrlCreateButton("", 15, 10, 30, 30, $BS_ICON)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\AutoMDP\AE27.au3(269,82) : WARNING: $BS_DEFPUSHBUTTON: possibly used before declaration.
$hFindNext = GUICtrlCreateButton("Find next", 265, 10, 115, 25, $BS_DEFPUSHBUTTON)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\AutoMDP\AE27.au3(316,85) : WARNING: $SS_NOTIFY: possibly used before declaration.
$hSplit = GUICtrlCreatePic("", 10, $SciSize[1] + 90, $aiSize[0] - 200, 5, $SS_NOTIFY)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\AutoMDP\AE27.au3(733,140) : WARNING: $ES_PASSWORD: possibly used before declaration.

As much as I know they used to be declared under one of the following includes (can't remember exactly where..):

#include <Constants.au3>

#include <GUIConstants.au3>

#include <GuiConstantsEx.au3>

#include <WindowsConstants.au3>

Where they should be declare as for Autoit 3.2.10 and beta 3.2.11?

Thanks

Be Green Now or Never (BGNN)!

Posted

If you're already using Scite, is it really that hard to go to Menu > Search > Find in Files..., and search for that constant in AutoIt Include folder?

Get to know your tools.

"be smart, drink your wine"

Posted

#include <GuiConstantsEx.au3>

No! they are not in <GuiConstantsEx.au3>

"ButtonConstants.au3 and EditConstants.au3"

Thanks Gary. Now I see the difference. Next time installation I will compare directories.

BTW: Thanks for solving the freezing problem when dragging listbox item.

Be Green Now or Never (BGNN)!

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
×
×
  • Create New...