Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 12 of 12
  1. #1
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201

    Help : project full screen

    How to make the project full screen, resize to all monitor size.?
    No resizable, No movable,
    hope this is clear
    Thnaks

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    do you mean kiosk mode or resize the actual window to the users screen

    EDIT:

    to make the window full screen use this

    Dis = System.GetDisplayInfo();
    Window.SetPos(Application.GetWndHandle(), 0, 0);
    Window.SetSize(Application.GetWndHandle(), Dis.Width, Dis.Height);
    to make the app a kiosk go in to settings and check the kiosk radio button
    Last edited by RizlaUK; 02-01-2009 at 11:35 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    RizlaUK ........ man you are a legend !!!
    This is what I want:

    Dis = System.GetDisplayInfo();
    Window.SetPos(Application.GetWndHandle(), 0, 0);
    Window.SetSize(Application.GetWndHandle(), Dis.Width, Dis.Height);

    Works fine, Thank you.

  4. #4
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    RizlaUK , just a tiny problem, everything goes to left top corner when view in my monitor 19" widescreen.
    Last edited by nals; 03-24-2007 at 08:16 PM.

  5. #5
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    If you use Kiosk mode, you will get the app opening centered on screen.

    Yossi

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    ok, remove this line

    Code:
    Window.SetPos(Application.GetWndHandle(), 0, 0);

    then add this in globals
    Code:
    function CenterThisWindow()
    	local hWnd = Application.GetWndHandle();
    	local WndSize = Window.GetSize(hWnd);
    	local ScreenRes = System.GetDisplayInfo();
    	local NewPos_X = (ScreenRes.Width - WndSize.Width)/2;
    	local NewPos_Y = (ScreenRes.Height - WndSize.Height)/2;
    	Window.SetPos(hWnd, NewPos_X, NewPos_Y);
    end
    and put this in page on show
    Code:
    CenterThisWindow();
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    RizlaUK , I did that still not working, I have attached the file
    Attached Files

  8. #8
    Join Date
    May 2006
    Posts
    5,380
    works ok for me,

    if you mean the objects are all to the top left then you need to reset there positions in page on size event, as when the window expands it dose it from the right and the bottom

    and you should update your ams

    your version 6.0.0.0

    current version 6.0.5.0
    Open your eyes to Narcissism, Don't let her destroy your life!!

  9. #9
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    I want everyhting to be in the middle, I mean the text the buttons.
    maybe its my monitor, I have wide screen 19", Is the version make difference??
    When you run , is everyhting on top left corner , or in the middle.?

    I want all to be centered,

  10. #10
    Join Date
    May 2006
    Posts
    5,380
    you are going to have to script it

    when you have resizable apps or apps that change size at runtime you have to readjust the object positions to suit the screen size as every thing is pushed to the top left coz the window expands from the bottom and the right hand side

    also you have to make the app resizable inorder to make it work

    take a look in the page onsize to see what i mean
    Last edited by RizlaUK; 02-01-2009 at 11:35 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  11. #11
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    you may be able to glean some information from this demo I threw together.
    Attached Files

  12. #12
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    RizlaUk, That is working fine, you have added a script onSize. Thanks

    and Worms sample file its a different methord also working fine too.

    Thanks guys for you time to help me.

    Thank you................
    and sorry if i m asking too many questions in this forum

    well I won't learn if I don't ask questions.

Similar Threads

  1. Running in Full Screen (Kiosk) Mode
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 10:51 AM
  2. Flash opening full screen, project not...
    By Michael in forum AutoPlay Media Studio 4.0
    Replies: 3
    Last Post: 04-18-2003, 09:50 AM
  3. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  4. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. project settings - "full screen mode"
    By ejf in forum AutoPlay Menu Studio 3.0
    Replies: 5
    Last Post: 04-27-2001, 07:18 AM

Posting Permissions

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