PDA

View Full Version : Create a dock



boku
07-31-2009, 02:13 AM
Is it possible in AMS to create a dock application.

So that regardless of whether or not another application is maximised, it just sits below it. Like the screenshot I have attached.

TYIA ;)

http://www.indigorose.com/forums/attachment.php?attachmentid=8342&stc=1&d=1249024362

Imagine Programming
07-31-2009, 06:28 AM
That's the NASA night launch firefox theme isn't it?:p

boku
07-31-2009, 06:46 AM
Yes .. yes it is :)

ShadowUK
07-31-2009, 07:24 AM
Yeah of course, Set the Z-Order to top most or tick Always on top.

boku
07-31-2009, 11:31 AM
Thanks Shadow but that isn't what I mean. I have just tried that with both those options and it doesn't create a dock as such.

You know how the task bar works. Applications sit on top of it, well say you had a task bar on the top too. If I then MAXIMIZE an application I don't want it to go behind/on top etc. I want it to still maximize to within the constraints of both bars.

Exactly how RSSMate (http://www.angusj.com/rssmate/) works.

reteset
07-31-2009, 03:55 PM
run a timer with 1000 interval
on timer get activewindow()
get height of activewindow
if the height of activewindow is larger than ( ScreenHeight - (TaskBarHeight+YourAppWindowHeight)) then
resize activewindow and fit to screen

finally do not forget to X and Y positions
for example :
if the Y position of activewindow is lower than YourAppWindowHeight then
do not touch to that window , it already does not cover your window

and you need to keep your window is always on top