Iconify an Amiga program with one click

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Juan Carlos
Posts: 891
Joined: Mon Sep 06, 2010 1:02 pm

Iconify an Amiga program with one click

Post by Juan Carlos »

I'm interested in a way to iconify one program clicking, for example for the V.A.M.P. player I want to make the same function than Windows where you click the right mouse and the program is iconify in the Windows bar, this instruction under Amiga doesn't work but with the iconify will be possible, in Amiga clicking in the window iconify icon do it but is possible call it with a routine or instruction?
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Iconify an Amiga program with one click

Post by airsoftsoftwair »

You are looking for HideDisplay()?
User avatar
Juan Carlos
Posts: 891
Joined: Mon Sep 06, 2010 1:02 pm

Re: Iconify an Amiga program with one click

Post by Juan Carlos »

Andreas wrote:You are looking for HideDisplay()?
Under Windows this option works, but under MorphOS and AmigaOS4 not, I tryed to use ShowScreen("WORKBENCH") to hide the player if you are play some X-Video but this instruction neither works, and I like hide the player in AmigaOS or MorphOS if you are playing x-videos, the reason to programmed the VAMP player, the best player to see these videos or music videos too :D
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Iconify an Amiga program with one click

Post by djrikki »

If there is only one display open HideDisplay() will always iconify the app no matter what the operating system may be.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
Post Reply