Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20

Thread: maximize window

  1. #1
    Join Date
    Apr 2006
    Posts
    181

    Star maximize window

    when i choose standart style from settings then i can maximize the window and everything on the windows automaticly gets bigger and fits the window...

    BUT

    when i choose bordered style and try to maximize then it maximize but images and buttons and web object vs... doesnt get bigger stay at original size and it looks really bad...

    CAN SOMEONE HELP ME PLEASE ???
    THANKS
    Attached Files

  2. #2
    Join Date
    Feb 2007
    Posts
    1
    Thanks you, you can give minimize for me

  3. #3
    Join Date
    Apr 2006
    Posts
    181
    does anybody know how to do it ???

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Put this in your On Preload
    Code:
    Resize_OnPreLoad();
    bFirstRun = true;
    Resize_OnSize(Window.GetSize(Application.GetWndHandle()).Width, Window.GetSize(Application.GetWndHandle()).Height);

  5. #5
    Join Date
    Apr 2006
    Posts
    181
    Thanks Worm It Worked

  6. #6
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Good deal

  7. #7
    Join Date
    Apr 2006
    Posts
    181
    But Right End Part Of The Window Is Not Fully Resizing... Like 0,5 Cm Missing ...
    Why ???

  8. #8
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    not sure... post a example for me to look at and I'll see what I can do.

  9. #9
    Join Date
    Apr 2006
    Posts
    181
    I Am Using The Project In The Post...

  10. #10
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    I see what you're saying now. Id guess it has something to do with the ratios in the resize code, but that's a guess. I don't have the time to delve into that code at the moment, maybe someone else has some spare ticks on their clock.

  11. #11
    Join Date
    Apr 2006
    Posts
    181
    I Can Maximize The Window But How Can I Turn Back To Original Size ???

  12. #12
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Application.Restore()

  13. #13
    Join Date
    Apr 2006
    Posts
    181
    Quote Originally Posted by Worm View Post
    Application.Restore()
    I HAVE 1 BUTTON FOR 2 CODES

    MAXIMIZE AND RESTORE

    HOW WILL I DO IT WORM ???

    THANKS

  14. #14
    Join Date
    Apr 2006
    Posts
    181
    i managed it with button visibility

  15. #15
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    here's another way

    add to On Preload
    Code:
    bMaximized = false;
    In your button On Click
    Code:
    if bMaximized then
    	Window.Restore(Application.GetWndHandle());
    else
    	Window.Maximize(Application.GetWndHandle());
    end
    
    bMaximized = not bMaximized;

Page 1 of 2 1 2 LastLast

Similar Threads

  1. set Window transparency!
    By goldingname in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 01-12-2007, 10:03 PM
  2. Pop-up window in AMS 5
    By Lee_Benson in forum AutoPlay Media Studio 5.0
    Replies: 9
    Last Post: 12-25-2003, 06:43 AM
  3. Creating a Non-Rectangular Window
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-03-2003, 12:40 PM
  4. HOWTO: Get the Position and Size of a Window
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 09-27-2002, 09:40 AM
  5. Maximize AMS window after running external program
    By kpsmith in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 10-09-2000, 08:28 PM

Posting Permissions

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