PcExpert Posted March 10, 2009 Share Posted March 10, 2009 Hi all, Is it possible to add a combobox to a listview? I've read alot of topics saying you can't, but those topics were from 2006 and 2007, so I thought that it might be possible now. What I mena is something like this, but then with a combobox?Thanks! Link to comment Share on other sites More sharing options...
cheese Posted March 11, 2009 Share Posted March 11, 2009 something like thisthis is checkboxes, see autoit help ListView Extended Styles $LVS_EX_CHECKBOXES and User Defined Functions _GUICtrlListView_SetItemChecked etc. Link to comment Share on other sites More sharing options...
PcExpert Posted March 11, 2009 Author Share Posted March 11, 2009 hmm, so a combobox isnt possible? Link to comment Share on other sites More sharing options...
martin Posted March 11, 2009 Share Posted March 11, 2009 hmm, so a combobox isnt possible?Search example scripts for _EIPListview. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
PcExpert Posted March 11, 2009 Author Share Posted March 11, 2009 Thanks for your reply Martin. This include seems to have some errors when using it with the testscript provided: expandcollapse popupC:\Program Files\AutoIt3\Include\_EIPListView.au3(4,10) : ERROR: can't open include file <GuiCombo.au3> #Include <GuiCombo.au3> ~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(5,10) : ERROR: can't open include file <GuiList.au3> #Include <GuiList.au3> ~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(40,43) : ERROR: $HDN_TRACK previously declared as a 'Const' Global Const $HDN_TRACK = ($HDN_FIRST - 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(41,45) : ERROR: $HDN_TRACKW previously declared as a 'Const' Global Const $HDN_TRACKW = ($HDN_FIRST - 28) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(80,43) : ERROR: $LVS_SHAREIMAGELISTS previously declared as a 'Const' Global Const $LVS_SHAREIMAGELISTS = 0x0040 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(82,31) : ERROR: $LVN_FIRST previously declared as a 'Const' Global Const $LVN_FIRST = -100 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(84,41) : ERROR: $LVN_ENDLABELEDITA previously declared as a 'Const' Global Const $LVN_ENDLABELEDITA = (-106) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(85,50) : ERROR: $LVN_ITEMCHANGING previously declared as a 'Const' Global Const $LVN_ITEMCHANGING = ($LVN_FIRST - 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(86,49) : ERROR: $LVN_ITEMCHANGED previously declared as a 'Const' Global Const $LVN_ITEMCHANGED = ($LVN_FIRST - 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(87,48) : ERROR: $LVN_INSERTITEM previously declared as a 'Const' Global Const $LVN_INSERTITEM = ($LVN_FIRST - 2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(88,48) : ERROR: $LVN_DELETEITEM previously declared as a 'Const' Global Const $LVN_DELETEITEM = ($LVN_FIRST - 3) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(89,52) : ERROR: $LVN_DELETEALLITEMS previously declared as a 'Const' Global Const $LVN_DELETEALLITEMS = ($LVN_FIRST - 4) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(91,49) : ERROR: $LVN_COLUMNCLICK previously declared as a 'Const' Global Const $LVN_COLUMNCLICK = ($LVN_FIRST - 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(92,47) : ERROR: $LVN_BEGINDRAG previously declared as a 'Const' Global Const $LVN_BEGINDRAG = ($LVN_FIRST - 9) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(93,49) : ERROR: $LVN_BEGINRDRAG previously declared as a 'Const' Global Const $LVN_BEGINRDRAG = ($LVN_FIRST - 11) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(95,54) : ERROR: $LVN_ODCACHEHINT previously declared as a 'Const' Global Const $LVN_ODCACHEHINT = ($LVN_FIRST - 13) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(96,51) : ERROR: $LVN_ITEMACTIVATE previously declared as a 'Const' Global Const $LVN_ITEMACTIVATE = ($LVN_FIRST - 14) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(97,53) : ERROR: $LVN_ODSTATECHANGED previously declared as a 'Const' Global Const $LVN_ODSTATECHANGED = ($LVN_FIRST - 15) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(99,47) : ERROR: $LVN_HOTTRACK previously declared as a 'Const' Global Const $LVN_HOTTRACK = ($LVN_FIRST - 21) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(101,46) : ERROR: $LVN_KEYDOWN previously declared as a 'Const' Global Const $LVN_KEYDOWN = ($LVN_FIRST - 55) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(102,54) : ERROR: $LVN_MARQUEEBEGIN previously declared as a 'Const' Global Const $LVN_MARQUEEBEGIN = ($LVN_FIRST - 56) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(141,60) : WARNING: $WS_POPUP: possibly used before declaration. $lvControlGui = GuiCreate("LVCONTROL",0,0,1,1,$WS_POPUP, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(142,81) : WARNING: $ES_AUTOHSCROLL: possibly used before declaration. $lvEdit = GUICtrlCreateInput($lvEditStart, 0, 0, 1, 1, BitOR($ES_AUTOHSCROLL, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(142,96) : WARNING: $ES_NOHIDESEL: possibly used before declaration. $lvEdit = GUICtrlCreateInput($lvEditStart, 0, 0, 1, 1, BitOR($ES_AUTOHSCROLL, $ES_NOHIDESEL, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(142,108) : WARNING: $WS_BORDER: possibly used before declaration. $lvEdit = GUICtrlCreateInput($lvEditStart, 0, 0, 1, 1, BitOR($ES_AUTOHSCROLL, $ES_NOHIDESEL, $WS_BORDER) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(145,78) : WARNING: $WS_EX_TOPMOST: possibly used before declaration. $lvCombo = GUICtrlCreateCombo($lvComboStart, 0, 0, 1, 1,-1,$WS_EX_TOPMOST) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(147,83) : WARNING: $GUI_SS_DEFAULT_DATE: possibly used before declaration. $lvDate = GUICtrlCreateDate($lvDataStart,0, 0, 1, 1,BitOR($GUI_SS_DEFAULT_DATE, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(147,105) : WARNING: $DTS_SHORTDATEFORMAT: possibly used before declaration. $lvDate = GUICtrlCreateDate($lvDataStart,0, 0, 1, 1,BitOR($GUI_SS_DEFAULT_DATE, $DTS_SHORTDATEFORMAT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(147,130) : WARNING: $WS_EX_CLIENTEDGE: possibly used before declaration. $lvDate = GUICtrlCreateDate($lvDataStart,0, 0, 1, 1,BitOR($GUI_SS_DEFAULT_DATE, $DTS_SHORTDATEFORMAT),BitOr($WS_EX_CLIENTEDGE, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(562,33) : WARNING: $wa: declared, but not used in func. Local $wa = _LoWord($wParam) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Maarten\Bureaublad\test.au3(16,63) : WARNING: $bProgressShowing already declared/assigned Global $Checkbox1, $Checkbox2, $HelpContext, $bProgressShowing, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Maarten\Bureaublad\test.au3(32,121) : WARNING: $GUI_SS_DEFAULT_GUI: possibly used before declaration. $Gui = GUICreate("Edit In Place Demo", $aWinPos[2], $aWinPos[3], $aWinPos[1], $aWinPos[0], BitOR($GUI_SS_DEFAULT_GUI, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Maarten\Bureaublad\test.au3(32,139) : WARNING: $WS_CLIPSIBLINGS: possibly used before declaration. $Gui = GUICreate("Edit In Place Demo", $aWinPos[2], $aWinPos[3], $aWinPos[1], $aWinPos[0], BitOR($GUI_SS_DEFAULT_GUI, $WS_CLIPSIBLINGS) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Maarten\Bureaublad\test.au3(36,103) : WARNING: $WS_CLIPCHILDREN: possibly used before declaration. Local $Tab1 = GUICtrlCreateTab(3, 3, $guiw - 5, $guih - 5, BitOR($TCS_FOCUSNEVER, $WS_CLIPCHILDREN) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~^ C:\Documents and Settings\Maarten\Bureaublad\test.au3(57,85) : WARNING: $SS_SUNKEN: possibly used before declaration. Local $Status1 = GUICtrlCreateLabel("", 1, $guih - 17, $guiw / 2, 17, $SS_SUNKEN) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(141,60) : ERROR: $WS_POPUP: undeclared global variable. $lvControlGui = GuiCreate("LVCONTROL",0,0,1,1,$WS_POPUP, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(309,76) : ERROR: _GUICtrlListViewSetItemText(): undefined function. _GUICtrlListViewSetItemText($__LISTVIEWCTRL, $iRow, $iCol, $newText) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(416,93) : ERROR: _GUICtrlListViewGetItemText(): undefined function. Local $oldText = _GUICtrlListViewGetItemText($__LISTVIEWCTRL, $LVINFO[0], $LVINFO[1]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(425,78) : ERROR: _GUICtrlComboFindString(): undefined function. Local $index = _GUICtrlComboFindString($editCtrl,$oldText) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(427,93) : ERROR: _GUICtrlComboAddString(): undefined function. If ($index = -1) Then $index = _GUICtrlComboAddString($editCtrl,$oldText) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(428,60) : ERROR: _GUICtrlComboSetCurSel(): undefined function. _GUICtrlComboSetCurSel($editCtrl,$index) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(481,54) : ERROR: _GUICtrlListCount(): undefined function. Local $initH = (_GUICtrlListCount($lvList) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(554,62) : ERROR: _GUICtrlListViewGetColumnWidth(): undefined function. $aLVI[4] = _GUICtrlListViewGetColumnWidth($nLvCtrl, $iCol) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(622,86) : ERROR: _GUICtrlListViewScroll(): undefined function. _GUICtrlListViewScroll ( $__LISTVIEWCTRL, -$LVINFO[4], 0 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(828,71) : ERROR: _GUICtrlListViewGetSubItemsCount(): undefined function. if $clicked_col > _GUICtrlListViewGetSubItemsCount($__LISTVIEWCTRL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(829,67) : ERROR: _GUICtrlListViewGetItemCount(): undefined function. if $clicked_row > _GUICtrlListViewGetItemCount($__LISTVIEWCTRL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(962,68) : ERROR: _GUICtrlListViewGetExtendedListViewStyle(): undefined function. Local $style = _GUICtrlListViewGetExtendedListViewStyle($hCtrl) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\_EIPListView.au3(982,57) : ERROR: _GUICtrlListViewGetCheckedState(): undefined function. If _GUICtrlListViewGetCheckedState($nCtrl,$x) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Maarten\Bureaublad\test.au3(204,36) : ERROR: _GUICtrlTabGetCurFocus(): undefined function. If _GUICtrlTabGetCurFocus($Tab1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Maarten\Bureaublad\test.au3 - 35 error(s), 14 warning(s) s this because it is not capable with new versions of autoit? Link to comment Share on other sites More sharing options...
martin Posted March 11, 2009 Share Posted March 11, 2009 (edited) Thanks for your reply Martin. This include seems to have some errors when using it with the testscript provided:It just needs a little updating. I did it some time ago. Here is the udf _EIPListView.au3 and here is an example ListViewEIP.au3 I can't remember how much I played with it so no guarantees Edited March 11, 2009 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
AutoBert Posted May 18, 2009 Share Posted May 18, 2009 Hello Martin, Today i found your _EIPListView.au3. A very pretty nice tool, i am looking for a long time . But I have one little Problem and i can't solve it. In Column "Startdate" the Calendar-Control returns a Date in the long Format. Please are you so kind and take a look on it, Thanks a lot (Auto)Bert Link to comment Share on other sites More sharing options...
martin Posted May 18, 2009 Share Posted May 18, 2009 (edited) Hello Martin, Today i found your _EIPListView.au3. A very pretty nice tool, i am looking for a long time . But I have one little Problem and i can't solve it. In Column "Startdate" the Calendar-Control returns a Date in the long Format. Please are you so kind and take a look on it, Thanks a lot (Auto)Bert I think the answer might be in the help for Function GUICtrlCreateDateGUICtrlCreateDate example 3. Welcome to the AutoIt forums AutoBert BTW, the _EIPList is not mine, it was written by Stephen Podhajecki aka eltorro. Edited May 18, 2009 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
AutoBert Posted May 18, 2009 Share Posted May 18, 2009 Hallo Martin, thanks for your reply, I think the answer might be in the help for Function GUICtrlCreateDateGUICtrlCreateDate example 3. i tried it this way in the example Local $DTM_SETFORMAT_ = 0x1032 Local $style = "yyyy/MM/dd" GUICtrlSendMsg($ListView, $LVM_SETEXTENDEDLISTVIEWSTYLE, $DTM_SETFORMAT_, $style) but it did'n't work, the $listview is not editable after this change. BTW, the _EIPList is not mine, it was written by Stephen Podhajecki aka eltorro.@eltorro, sorry i thougt Martin is your nickname best wishes to all and thanks to Martin from (Auto)Bert Link to comment Share on other sites More sharing options...
martin Posted May 18, 2009 Share Posted May 18, 2009 Hallo Martin, thanks for your reply, i tried it this way in the example Local $DTM_SETFORMAT_ = 0x1032 Local $style = "yyyy/MM/dd" GUICtrlSendMsg($ListView, $LVM_SETEXTENDEDLISTVIEWSTYLE, $DTM_SETFORMAT_, $style) but it did'n't work, the $listview is not editable after this change. @eltorro, sorry i thougt Martin is your nickname best wishes to all and thanks to Martin from (Auto)BertYou need to send the message to the date control not the listview. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
AutoBert Posted May 18, 2009 Share Posted May 18, 2009 Hello Martin, thank you for the prompt reply, i must be very in the morning, @eltorro great job, very usefull. You are the of the Listview best wishes to all from (Auto)Bert Link to comment Share on other sites More sharing options...
Skysnake Posted May 26, 2014 Share Posted May 26, 2014 Impressive, but I do not understand the importance of the Global Constants which I commented out to get this to work... Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
MHz Posted May 26, 2014 Share Posted May 26, 2014 Impressive, but I do not understand the importance of the Global Constants which I commented out to get this to work... You can only declare and assign a Const variable once. If you try to do it again, you will be in violation and the script will halt with a critical error. Old scripts may have Consts in them which the AutoIt versions back then did not include them as standard. Later AutoIt versions may add the Consts so the old scripts need to comment or remove the same Consts to avoid error. 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