lsakizada Posted February 15, 2008 Share Posted February 15, 2008 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)! Link to comment Share on other sites More sharing options...
James Posted February 15, 2008 Share Posted February 15, 2008 #include <GuiConstantsEx.au3> Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
GaryFrost Posted February 15, 2008 Share Posted February 15, 2008 ButtonConstants.au3 and EditConstants.au3 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
James Posted February 15, 2008 Share Posted February 15, 2008 Ha, I didn't know about them! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Siao Posted February 15, 2008 Share Posted February 15, 2008 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" Link to comment Share on other sites More sharing options...
lsakizada Posted February 15, 2008 Author Share Posted February 15, 2008 #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)! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now