Sign in to follow this  
Followers 0
Munkel

ListViewItem and Title bar pause problem

2 posts in this topic

Please, please help.

I need to be able to stop my code from pausing when the left mouse is held down on a list view item or the title bar (the list view item being more my concern).

My code looks something like this-

#include <GUIConstants.au3>

GUICreate("Problem",200,200,-1,-1)

$ListView=GuiCtrlCreateListView("1 |2 |3 ",50,50,100,100)
GuiCtrlCreateListViewItem("A|B|C",$listview)
GuiCtrlCreateListViewItem("X|Y|Z",$listview)
GuiSetState()

$Ticker=GUICtrlCreateLabel(0,10,10)
$Ticks=0

While 1
    
    $Ticks=$Ticks+1
    if $Ticks=100 then $ticks=0
    GUICtrlSetData($Ticker,$Ticks)
    
    if GUIGetMsg()=$GUI_EVENT_CLOSE Then Exit
    
    ;my code that must also be in a continuous loop goes here

WEnd

Share this post


Link to post
Share on other sites



Same problem here.

Im doing a continuos ping program and i what it to "abort" any time with a mouse click.

Can anybody help???

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

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