Jump to content

Report Help File Issues Here


guinness
 Share

Recommended Posts

GUICtrlCreateListView

exStyle | default (-1) : $LVS_EX_FULLROWSELECT, $WS_EX_CLIENTEDGE

This will help to restore the default styles if you are using extended styles.

Done.

Apart from the pending examples I have to clean up, I think everything is pretty much up to date for what has been posted. If not let me know.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

Just one point to make, I made the mistake once of changing MsgBox(4096, to MsgBox(0, until trancexx pointed out that a system modal dialogue box is a preferred choice due to focus (if I remember correctly.) So I reverted back to MsgBox(4096, where applicable. Thanks for helping out.

That's how the examples were written in the help file examples, I just changed some of the title information. I didn't really take note of the flag settings.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

Ah, I'm using the beta so I changed them ages ago.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

You can upload the finished help files after patches? It would be easier to compare.

_WinAPI_EnableWindow

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <WinAPI.au3>

$hGui = GUICreate('Окно', 250, 260, -1, -1, BitOr($GUI_SS_DEFAULT_GUI, $WS_VISIBLE), $WS_EX_TOPMOST)
_WinAPI_EnableWindow($hGui, False)
MsgBox(262144, '', 'Unlock the window?')
_WinAPI_EnableWindow($hGui, True)
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE

_WinAPI_IsWindow

#include <WinAPI.au3>

$hGui = GUICreate('')
; MsgBox(0, 'IsHWnd', IsHWnd($hGui))
MsgBox(0, 'IsWindow', _WinAPI_IsWindow($hGui))

_WinAPI_IsWindowVisible

#include <WinAPI.au3>

$hGui = GUICreate('')
MsgBox(0, 'Window visible?', _WinAPI_IsWindowVisible($hGui))
GUISetState()
MsgBox(0, 'Window visible?', _WinAPI_IsWindowVisible($hGui))

_WinAPI_MAKELCID

#include <Constants.au3>
#include <WinAPI.au3>

; Global Const $LOCALE_SYSTEM_DEFAULT = 0x0800
$LCID = _WinAPI_MAKELCID($LANG_RUSSIAN, $SORT_DEFAULT)
MsgBox(0, '', Hex($LCID, 4) & @LF & $LCID)

_WinAPI_PointFromRect

_WinAPI_GetXYFromPoint

#include <WinAPI.au3>

Local $iX, $iY, $tRect, $tPoint

$tRect = DllStructCreate($tagRECT)
DllStructSetData($tRect, "Left", 20)
DllStructSetData($tRect, "Top", 50)
DllStructSetData($tRect, "Right", 200)
DllStructSetData($tRect, "Bottom", 200)

$tPoint = _WinAPI_PointFromRect($tRect, False)
_WinAPI_GetXYFromPoint($tPoint, $iX, $iY)

MsgBox(4096, 'PointFromRect', 'x = ' & $iX & @LF & 'y = ' & $iY)

_WinAPI_RectIsEmpty

#include <WinAPI.au3>

Local $tRect = DllStructCreate($tagRECT)
DllStructSetData($tRect, "Left", 0)
DllStructSetData($tRect, "Top", 0)
DllStructSetData($tRect, "Right", 0)
DllStructSetData($tRect, "Bottom", 0)
MsgBox(4096, 'RectIsEmpty', _WinAPI_RectIsEmpty($tRect))

_WinAPI_SubLangId

#include <Constants.au3>
#include <WinAPI.au3>

$LangID = _WinAPI_MAKELANGID($LANG_RUSSIAN, $SUBLANG_DEFAULT)
$SubLangID = _WinAPI_SubLangId($LangID)
MsgBox(0, 'SubLangId', Hex($SubLangID, 4) & @LF & $SubLangID)

GUICtrlCreateList

GUICtrlCreateEdit

GUICtrlCreateInput

exStyle | default (-1) : $WS_EX_CLIENTEDGE

GUICtrlCreatePic

$n = GUICtrlCreatePic("..GUImslogo.jpg", 50, 50, 200, 50)
$n = GUICtrlCreatePic(@ScriptDir&"..GUImslogo.jpg", 50, 50, 200, 50)
I added the @ScriptDir in three locations. I did to run scripts directly from the help and I had these problems. Edited by AZJIO
Link to comment
Share on other sites

You can upload the finished help files after patches? It would be easier to compare.

So you want documentation released that contains information on features not actually available and/or fixed?
Link to comment
Share on other sites

what's the problem with having a working version of the documentation available for individuals trying to improve said documentation? as long as people had to go out of there way to get it, (IE: anonymous SVN access to the docs folder), there can be no confusing it with the released documentation.

ongoing projects:-firestorm: Largescale P2P Social NetworkCompleted Autoit Programs/Scripts: Variable Pickler | Networked Streaming Audio (in pure autoIT) | firenet p2p web messenger | Proxy Checker | Dynamic Execute() Code Generator | P2P UDF | Graph Theory Proof of Concept - Breadth First search

Link to comment
Share on other sites

People are fundamentally stupid. They will see documentation says something is available, assume it is available and then when it's not we'll have to deal with bug reports and the like. Furthermore, what if I don't want you to see everything in the documentation before something is released?

We will not grant just anyone access to the repository. That means somebody has to go out of their way to build or archive the documentation source (Trivial, both are automated) and find someplace to host it. Either we have to give guinness even more access than he already has or I have to do it in order to host it here on the site. In all cases it creates more work for me and possibly guinness.

Link to comment
Share on other sites

We will not grant just anyone access to the repository. That means somebody has to go out of their way to build or archive the documentation source (Trivial, both are automated) and find someplace to host it. Either we have to give guinness even more access than he already has or I have to do it in order to host it here on the site. In all cases it creates more work for me and possibly guinness.

Agreed, right now it works, those who have access update, those who don't post the changes here.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

AutoItSetOption

1 = expand environment variables (similar to AutoIt v2)

0 = do not expand environment variables (default)

Why most of the items are not in ascending order?

0=

1=

2=

Opt("GUIEventOptions", 0) ;0=default, 1=just notification, 2=GuiCtrlRead tab index

???

the default highlight in bold?

0 = (default) disable.

1 = enable.

how you look at it to replace the text [optional] to [?]?

Sleep

Sleep(1)=Sleep(2)= ... =Sleep(10)

Specify that a delay of 1 to 10 give the same delay equal to 10

Minimum 10, even when set delay equal to 1.

InputBox

The default values are not specified (-1, -1, Default, Default, 0)

AutoItWinGetTitle

Local $a = AutoItWinGetTitle()
MsgBox(4096, '', $a)

AutoItWinSetTitle

AutoItWinSetTitle("My AutoIt Window")
MsgBox(4096, '', AutoItWinGetTitle())

Asc

AscW

Chr

ChrW

See the <a href="../appendix/ascii.htm">Appendix</a>

GUISetFont

GUICtrlSetFont

See the <a href="../appendix/fonts.htm">Appendix</a>

FileFlush

If you write to an open file is used by the i/o buffer size of 128 bytes. Data is transferred to the buffer and are flushed to disk only when the buffer is full or when you close the handle to the FileClose function. The function FileFlush is intended to force a reset of data from the buffer, it guarantees the saving of information in the physical file. It is important when working with files on devices that can be disabled prior to closing the handle. This function can only be used with file handles returned from FileOpen().

Command Line Parameters

The array $CmdLine is a constant and is not available to change the dimensions or parameters obtained when running

Edited by AZJIO
Link to comment
Share on other sites

_GUICtrlListView_AddItem

...

Return Value

Success: The index of the new column -> should say new row.

Why? (serious question)

If you look at the source you'll see it uses LVM_INSERTITEM and the documentation quite clearly say it returns the index.

Returns the index of the new item if successful, or -1 otherwise.

Link to comment
Share on other sites

I've looked at it again, can only see it that 'column' is wrong, could be 'item', but could be 'row' for this and _InsertItem.

_GUICtrlListView_AddItem "Adds a new item to the end of the list" Return "The index of new column" - should be item or row.
_GUICtrlListView_InsertItem "Inserts a new item in the control" Return "The index of the new item" - could be row.
_GUICtrlListView_AddColumn "Adds a new column in the control" Return "The index of the new column"
_GUICtrlListView_InsertColumn "Inserts a new column in the control" Return "The index of the new column"
Link to comment
Share on other sites

@RichardL

Okay I see now. You should have made it clear what it was you wanted. Nevertheless, as AZJIO says, that issue is fixed. If you had looked in the latest helpfile for 3.3.9.5 you would see "The index of the new item". Please check your issue(s) against the latest version before posting in the future.

Edited by AdmiralAlkex
Link to comment
Share on other sites

I'm beginning to think there should have been a help file patch made for the last release version also (3.3.8.1?),

Probably too late now so I'll have to create one for myself I guess.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

The example script for the function IniRenameSection is missing a backslash before the file name.

Local $res = IniRenameSection(@ScriptDir & "My.ini", "MySection", "MyNewSection") ; there should be a backslash before the My.ini, ("\My.ini")

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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