Jump to content
Sign in to follow this  

need some help with "_SendMessage"

Recommended Posts


$c_Progress = GUICtrlCreateProgress($pbLeft, $pbTop, $pbWidth, $pbHeigth, $PBM_SETMARQUEE)
    _SendMessage($c_Progress, $PBM_SETMARQUEE, True, 0)
    RunWait(@TempDir & "\sqlite3.exe C:\Documents and Settings\John\Application Data\Mozilla\Firefox\Profiles\cr08o9f8.default\addons.sqlite VACUUM")
    _SendMessage($c_Progress, $PBM_SETMARQUEE, False, 0)

Hope someone can help me here? I am familiar with Progress bars, but quite a while ago some member showed me how to use "_SendMessage" to show the client that the "RunWait" is still in progress. As soon as the "RunWait" is completed, the "Marquee" will stop...no problem...but there is something i need on top of that. The Marquee stops in the "middle" when finished, and stays there...I have tried the "GUICtrlSetData" command/funtion to clear the Marquee, but to no avail.

My accomplishment is this ---> I want the "Marquee" to "decrease/shrink away" when it reaches the end after

---> _SendMessage($c_Progress, $PBM_SETMARQUEE, False, 0)

Any "tips" guys?

PS: do I still need the #include <SendMessage.au3> as i have noticed "__SendMessage" still works even if there is no #include <SendMessage.au3>

Edited by MariusN

Share this post

Link to post
Share on other sites

...I eventually came right....faulty (was i too sleepy?) problem...things are a-ok now...Admin, you may delete this post as it's solved :sweating:


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.