Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5

Thread: Create a dock

  1. #1
    Join Date
    Mar 2009
    Location
    -31.9554,115.85859
    Posts
    282

    Cool Create a dock

    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

    Attached Images

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    [offtopic]
    That's the NASA night launch firefox theme isn't it?
    [/offtopic]
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  3. #3
    Join Date
    Mar 2009
    Location
    -31.9554,115.85859
    Posts
    282
    Yes .. yes it is

  4. #4
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Yeah of course, Set the Z-Order to top most or tick Always on top.

  5. #5
    Join Date
    Mar 2009
    Location
    -31.9554,115.85859
    Posts
    282
    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 works.

  6. #6
    Join Date
    May 2006
    Posts
    1,443
    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts