lsakizada Posted December 3, 2007 Posted December 3, 2007 (edited) When dragging listView item then the GUI is freezing until the focus of the main client is changed. Steps: 1) Launch the example that come with the "_GUICtrlListView_Create" function. (came with the latest beta) 2) Drag an item to somewhere point on the control. The GUI will be freeze until it will be minimize. Is this a bug? EDIT: Please Ignore the title ..(I was unable to correct the title..). Actually the problem aoccurs when dragging an item Edited December 3, 2007 by lsakizada Be Green Now or Never (BGNN)!
therks Posted December 3, 2007 Posted December 3, 2007 (edited) What version of AutoIt are you using? *Edit: I can confirm it does exactly as you say on version 3.2.9.14 (last beta). But I don't have to minimize, if I just focus on another window it will unfreeze. Edited December 3, 2007 by Saunders My AutoIt Stuff | My Github
jvanegmond Posted December 3, 2007 Posted December 3, 2007 Sounds like Windows default behavior to me.. but I may be wrong. Carry on. github.com/jvanegmond
lsakizada Posted December 3, 2007 Author Posted December 3, 2007 What version of AutoIt are you using?*Edit: I can confirm it does exactly as you say on version 3.2.9.14 (last beta). But I don't have to minimize, if I just focus on another window it will unfreeze.I am using beta 3.2.9.3.If you drag it outside the client then the all computer will be freeze until performin 'Alt+Delete+ctrl'. Be Green Now or Never (BGNN)!
lsakizada Posted December 3, 2007 Author Posted December 3, 2007 Sounds like Windows default behavior to me.. but I may be wrong. Carry on.No way it windows behaviour Be Green Now or Never (BGNN)!
lsakizada Posted December 10, 2007 Author Posted December 10, 2007 Should I report bug? Be Green Now or Never (BGNN)!
MrPook Posted February 28, 2008 Posted February 28, 2008 Should I report bug?Hello,i still have the problem in 3.2.10.0.Is there any fix ? can i stop GUICtrlListView from having a drag behaviour ?Thanks in advance.Pook
rasim Posted February 28, 2008 Posted February 28, 2008 Hey guys, yes, i also have this problem Anyone know about solving this problem?
FreeFry Posted February 28, 2008 Posted February 28, 2008 Perhaps it's possible to create the gui, but having another script handle the listview? ie. first script creates all of gui BUT not the listview, then run the second script to create and handle the listview... Just a thought.
GaryFrost Posted February 28, 2008 Posted February 28, 2008 I fixed this problem in 3.2.11.0 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
exodius Posted March 12, 2008 Posted March 12, 2008 (edited) I'm still having this problem, I even did a complete uninstall, installed my previous version, installed 3.2.10.0 and then installed 3.2.11.0. I'm able to reproduce it using your code from the other thread Gary: #include <GuiConstantsEx.au3> #include <GuiListView.au3> Opt('MustDeclareVars', 1) _Main() Func _Main() Local $GUI, $hListView $GUI = GUICreate("(External) ListView Create", 400, 300) $hListView = _GUICtrlListView_Create ($GUI, "", 2, 2, 394, 268) _GUICtrlListView_SetExtendedListViewStyle ($hListView, BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT)) GUISetState() ; Add columns _GUICtrlListView_InsertColumn ($hListView, 0, "Column 1", 100) _GUICtrlListView_InsertColumn ($hListView, 1, "Column 2", 100) _GUICtrlListView_InsertColumn ($hListView, 2, "Column 3", 100) ; Add items _GUICtrlListView_AddItem ($hListView, "Row 1: Col 1") _GUICtrlListView_AddSubItem ($hListView, 0, "Row 1: Col 2", 1) _GUICtrlListView_AddSubItem ($hListView, 0, "Row 1: Col 3", 2) _GUICtrlListView_AddItem ($hListView, "Row 2: Col 1") _GUICtrlListView_AddSubItem ($hListView, 1, "Row 2: Col 2", 1) _GUICtrlListView_AddItem ($hListView, "Row 3: Col 1", 2) ; Loop until user exits Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete() EndFunc ;==>_Main I saw your post in Bug Tracker "When the control is created it needs a control id, fixed for next version." but I wasn't sure how that applied to the code above. Edited March 12, 2008 by exodius
GaryFrost Posted March 12, 2008 Posted March 12, 2008 I'm still having this problem, I even did a complete uninstall, installed my previous version, installed 3.2.10.0 and then installed 3.2.11.0. I'm able to reproduce it using your code from the other thread Gary: #include <GuiConstantsEx.au3> #include <GuiListView.au3> Opt('MustDeclareVars', 1) _Main() Func _Main() Local $GUI, $hListView $GUI = GUICreate("(External) ListView Create", 400, 300) $hListView = _GUICtrlListView_Create ($GUI, "", 2, 2, 394, 268) _GUICtrlListView_SetExtendedListViewStyle ($hListView, BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT)) GUISetState() ; Add columns _GUICtrlListView_InsertColumn ($hListView, 0, "Column 1", 100) _GUICtrlListView_InsertColumn ($hListView, 1, "Column 2", 100) _GUICtrlListView_InsertColumn ($hListView, 2, "Column 3", 100) ; Add items _GUICtrlListView_AddItem ($hListView, "Row 1: Col 1") _GUICtrlListView_AddSubItem ($hListView, 0, "Row 1: Col 2", 1) _GUICtrlListView_AddSubItem ($hListView, 0, "Row 1: Col 3", 2) _GUICtrlListView_AddItem ($hListView, "Row 2: Col 1") _GUICtrlListView_AddSubItem ($hListView, 1, "Row 2: Col 2", 1) _GUICtrlListView_AddItem ($hListView, "Row 3: Col 1", 2) ; Loop until user exits Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete() EndFunc ;==>_Main I saw your post in Bug Tracker "When the control is created it needs a control id, fixed for next version." but I wasn't sure how that applied to the code above. Are you running it in beta? SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
exodius Posted March 13, 2008 Posted March 13, 2008 (edited) Are you running it in beta?Yup, I'm guessing you're not having that same problem?Edit: Confirmed that this happens on both my computer at work and my computer at home... At both locations AutoUpdateIt reports that my Production Version is 3.2.10.0 and my Beta Version is 3.2.11.0...Edit #2: Installed 3.2.11.1 on my home computer, and it seems to be resolved now. Which is peculiar because I'm pretty confident that I have it installed on my work computer and it still doesn't work... But seeing that it works here at home, I'll troubleshoot it at work tomorrow.Thanks for reply Gary, I know you're a busy fella. Edited March 13, 2008 by exodius
rasim Posted March 13, 2008 Posted March 13, 2008 (edited) for itself I have solved this problem so:#include <GuiConstantsEx.au3> #include <GuiListView.au3> Opt('MustDeclareVars', 1) _Main() Func _Main() Local $GUI, $hListView $GUI = GUICreate("(External) ListView Create", 400, 300) $hListView = GUICtrlCreateListView("", 2, 2, 394, 268) $hListView = GUICtrlGetHandle($hListView) _GUICtrlListView_SetExtendedListViewStyle ($hListView, BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT)) GUISetState() ; Add columns _GUICtrlListView_InsertColumn ($hListView, 0, "Column 1", 100) _GUICtrlListView_InsertColumn ($hListView, 1, "Column 2", 100) _GUICtrlListView_InsertColumn ($hListView, 2, "Column 3", 100) ; Add items _GUICtrlListView_AddItem ($hListView, "Row 1: Col 1") _GUICtrlListView_AddSubItem ($hListView, 0, "Row 1: Col 2", 1) _GUICtrlListView_AddSubItem ($hListView, 0, "Row 1: Col 3", 2) _GUICtrlListView_AddItem ($hListView, "Row 2: Col 1") _GUICtrlListView_AddSubItem ($hListView, 1, "Row 2: Col 2", 1) _GUICtrlListView_AddItem ($hListView, "Row 3: Col 1", 2) ; Loop until user exits Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete() EndFunc ;==>_MainJust use GUICtrlCreateListView() function instead of _GUICtrlListView_Create() Edited March 13, 2008 by rasim
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