Jump to content

gui freazes when using listview udf


Xand3r
 Share

Recommended Posts

#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

Link to comment
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
 Share

  • Recently Browsing   0 members

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