Page 1 of 1
Iconify an Amiga program with one click
Posted: Fri Jan 25, 2013 5:00 pm
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?
Re: Iconify an Amiga program with one click
Posted: Sat Jan 26, 2013 5:18 pm
by airsoftsoftwair
You are looking for
HideDisplay()?
Re: Iconify an Amiga program with one click
Posted: Sun Jan 27, 2013 11:56 am
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

Re: Iconify an Amiga program with one click
Posted: Sun Jan 27, 2013 5:46 pm
by djrikki
If there is only one display open
HideDisplay() will always iconify the app no matter what the operating system may be.