PDA

View Full Version : Application.minimize


toad
08-30-2005, 11:24 AM
Ok, all I want to do is minimize the setup application on the begining of a screen. I can get the setup application to minimize, but it instantaniously goes back to it full state. How do I minimize the app so that it stays in the system tray?

Carter

JLGauntt
09-07-2005, 11:44 AM
Hoping someone answers Carter's question on this, because I would really like to know the answer too...

--- janet

JLGauntt
09-07-2005, 12:02 PM
Actually my question has mutated. I can see how to minimize the (current) screen:

local screenProp = Screen.GetProperties();
Application.Minimize( screenProp.WindowHandle );

But, I was hoping to find a way to add a standard minimize icon to the title bar of my screens so that my user can do this from any screen without my having to add buttons or other logic. I suspect the answer is no, you can't do that, but just checking to see if I'm missing it...

Thanks -

--- janet

Adam
09-07-2005, 01:29 PM
There is no way to add a minimize button to the title bar of the runtime. On most screens there is a button that is not used, it is called the "Help" button but you can change the text to anything that you want. You could then assign the minimize code to this button on each page.

Adam Kapilik

toad
09-08-2005, 10:14 AM
Ok, I have worked out a little of what is going wrong, just no solution yet. I have put the Application.Minimize on the preload portion of the actions palette. The installer app minimizes and then restores almost instantly. What I need to be able to do is hit my "Register" button on previous screen and have the installer app go to the next screen and THEN minimize.

How can I do this?

Pulling what little hair I have left out.....

Carter

toad
09-08-2005, 12:22 PM
thought I would post more detail on what I have going on.

This is on Screen Six's Next button
---------
urlfile = ("http://www.xxx.com");
File.OpenURL(urlfile, SW_SHOWNORMAL);
-- advance to next screen
Screen.Next();
----------

This is on Screen Seven's Preload
----------
Application.Minimize();
----------

I would settle for minimizing the installer or changing the order and moving the installer app the bottom of the order.

I can get the installer to do either but a soon as I put the File.OpenURL code in there the installer will minimize but then instantly restore so I cannot see the webpage behind the installer. I need to be able to see the webpage to finish the registration.

Any ideas?

Carter

toad
09-12-2005, 08:45 AM
ttt...

I desperately need to solve this. If not I will have to abandon this project and move to a different installer idea. This is an already shipping install so I would REALLY like to fix this on our next update.

Carter

Brett
09-12-2005, 09:02 AM
We will look into this. REF: 11012

toad
09-12-2005, 01:05 PM
We will look into this. REF: 11012


I can send a simple test to show what is happening?

Carter