AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Progress bar in status bar

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
tuna



Joined: 03 Oct 2007
Posts: 47
Location: Bristol, England

PostPosted: Mon Dec 03, 2007 9:13 pm    Post subject: Progress bar in status bar Reply with quote

Perhaps not crucial, but the possiblity of a progress bar on a status bar (i.e. like IE) would be nice, since I keep have many little tasks that I would like to keep my eyes on - an simple unobtrusive control like that would be perfect.

Many thanks
Back to top
View user's profile Send private message
tic



Joined: 22 Apr 2007
Posts: 1375

PostPosted: Tue Dec 04, 2007 12:15 am    Post subject: Reply with quote

make your own status bar that has a progress in it
Back to top
View user's profile Send private message
tuna



Joined: 03 Oct 2007
Posts: 47
Location: Bristol, England

PostPosted: Tue Dec 04, 2007 7:06 am    Post subject: Reply with quote

But that would be text based right?
Back to top
View user's profile Send private message
HuBa



Joined: 24 Feb 2007
Posts: 172
Location: Budapest, Hungary

PostPosted: Tue Dec 04, 2007 9:39 pm    Post subject: Reply with quote

Create a statusbar on the gui and a progressbar.
Set the progressbar's parent to statusbar.
It's graphical, like IE.


Last edited by HuBa on Tue Dec 04, 2007 11:37 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
tuna



Joined: 03 Oct 2007
Posts: 47
Location: Bristol, England

PostPosted: Tue Dec 04, 2007 10:08 pm    Post subject: Reply with quote

Thank HuBa, but I don't quite follow, do you mean a parent window - I've not seen documentation on creating parent controls.

Many thanks
Back to top
View user's profile Send private message
HuBa



Joined: 24 Feb 2007
Posts: 172
Location: Budapest, Hungary

PostPosted: Tue Dec 04, 2007 11:34 pm    Post subject: Reply with quote

You create the two separate control.
Then retreive the window handle to those controls.
And call this little Window API function:
DllCall("SetParent", "UInt", hControl, "UInt", hNewParent)

It's not a native AHK function so you need to understand the basics of WinAPI.
The documentation is here: http://msdn2.microsoft.com/en-us/library/ms633541.aspx
Back to top
View user's profile Send private message Visit poster's website
Serenity



Joined: 07 Nov 2004
Posts: 1276

PostPosted: Sat Aug 09, 2008 5:34 pm    Post subject: Reply with quote

I'd like this too. I tried using setparent but it doesn't seem to work with the statusbar:

Code:
; put progress in statusbar
gui, add, progress, w200 h15 Hwndprogress vprg -smooth, 20
gui, add, statusbar, Hwndstatusbar
gui, show
dllcall("setparent","uint",progress,"uint",statusbar)
return

guiclose:
exitapp

_________________
"Anything worth doing is worth doing slowly." - Mae West
Back to top
View user's profile Send private message Visit poster's website
haichen



Joined: 05 Feb 2007
Posts: 140
Location: Osnabrück, Germany

PostPosted: Sat Aug 09, 2008 11:03 pm    Post subject: Reply with quote

http://www.autohotkey.com/forum/topic26385.html
I'm sure there was something more in the forum, but I can't recover it.
Back to top
View user's profile Send private message
Serenity



Joined: 07 Nov 2004
Posts: 1276

PostPosted: Sat Aug 09, 2008 11:33 pm    Post subject: Reply with quote

Thanks Haichen!
_________________
"Anything worth doing is worth doing slowly." - Mae West
Back to top
View user's profile Send private message Visit poster's website
tank



Joined: 21 Dec 2007
Posts: 1033

PostPosted: Sun Aug 10, 2008 4:19 pm    Post subject: Reply with quote

http://www.autohotkey.com/forum/viewtopic.php?t=19400&start=0&postdays=0&postorder=asc&highlight=dock
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group