Article View: comp.sys.atari.programmer
Article #12Re: Iconify Under Magic 4
From: R. Mellish
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
45 lines
2396 bytes
2396 bytes
in article <37446307_OASIS_NEWS@yeadontt.demon.co.uk>,
Phil Yeadon (phil@yeadontt.demon.co.uk) wrote:
> Does anyone know the value of the WM_ICONIFY variable given in the
>Magic 4 hyper text documents.
Hypertext? I haven't seen those, only the flat-text docs. Are the HT
versions in English? Where can I get them?
> I understand how to add the Icon gadget to the window title/move bar,
>the GEM event message that signifies this item being selected and the GEM
>event message recieved when a window is returned to full size. All I need to
>know is HOW to iconify the window!
> Rarther helpfully the docs gives the following example:-
> wind_set(wind_handle, WM_ICONIFY, -1, -1, -1, -1)
> I believe this call both shrinks and expands the window, but what is
>the value of WM_ICONIFY!!!!
(I think that should be WF_... etc. in the wind_set call, not WM_...)
Nope, it just shrinks the window. You use WF_UNICONIFY to bring it back
again.
Anyway, from the MAGX.H header file that comes with the programming docs:
#define WM_ICONIFY 34
#define WM_UNICONIFY 35
#define WM_ALLICONIFY 36
These are sent to you by the window manager (i.e. through evnt_multi() ).
You then respond with wind_set() using the values:
#define WF_ICONIFY 26
#define WF_UNICONIFY 27
I believe I obtained the (German) programming documents from
ftp.uni-paderborn.de - look for mgx4doc.lzh
-- Robert Mellish (YSFC) rm03@ic.ac.uk
`Dogs are so useful I'm surprised they're not widely sold in vending
machines. ("You got any change? I need a dog").' - Dave Barry
Technical Details
Message-ID:
<4lflg4$p5e@sjsun1.cc.ic.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37446307_OASIS_NEWS@yeadontt.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111a55,c7d95aa459835575 X-Google-Attributes: gid111a55,public X-Google-Thread: 112f4b,c7d95aa459835575 X-Google-Attributes: gid112f4b,public X-Google-Thread: 1115ce,c7d95aa459835575 X-Google-Attributes: gid1115ce,public X-Google-Thread: 109a67,c7d95aa459835575 X-Google-Attributes: gid109a67,public From: rm03@ic.ac.uk (R. Mellish) Subject: Re: Iconify Under Magic 4 Date: 1996/04/22 Message-ID: <4lflg4$p5e@sjsun1.cc.ic.ac.uk> X-Deja-AN: 150774697 references: <37446307_OASIS_NEWS@yeadontt.demon.co.uk> followup-to: comp.sys.atari.programmer organization: Acme Labs newsgroups: comp.sys.atari.programmer,comp.sys.atari.st,comp.sys.atari.st.tech,demon.ip.support.atari