Sign in to follow this  
Followers 0
Xand3r

gui freazes when using listview udf

3 posts in this topic

#include<GUIConstants.au3>
#include<GUIListView.au3>
Local $exStyles = ""
$GUI = GUICreate("test", 600, 550)
;=========================================================================================================
$hListView = _GUICtrlListView_Create ($GUI, "", 2, 2, 596, 500, -1, -1, True) ; Last option Calls CoInitializeEx
;=========================================================================================================
_GUICtrlListView_SetExtendedListViewStyle ($hListView, $exStyles)
$d=_GUICtrlListView_AddItem($hListView,"dddd")
_GUICtrlListView_SetBkImage($hListView,"http://www.autoitscript.com/autoit3/files/graphics/autoit9_wall_grey_800x600.jpg")
_GUICtrlListView_SetView($hListView,1)
GUISetState()
While 1
    If GUIGetMsg()=$GUI_EVENT_CLOSE Then quit()
    Sleep(10)
WEnd
Func quit()
    Exit
EndFunc

When i try to run this script everything is ok till i try to drag the listview item....

when i try that the gui just freazes....(same thing hapends with the help file example...)


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites



nobody?

or does it not freeze for you?


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0