Article View: comp.sys.atari.programmer
Article #14Re: Iconify Under Magic 4
From: "Mark Baines"
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
34 lines
1912 bytes
1912 bytes
> Does anyone know the value of the WM_ICONIFY variable given in the >Magic 4 hyper text documents. In PROFILE 2 I use the following code which works under MTOS but not tested under Magic 4: #define WM_ICONIFY34 #define WM_UNICONIFY35 #define WM_ALLICONIFY36 When handling your event messages: short xc, yc, wc, hc; case WM_ICONIFY: wind_get(msg[3], WF_CURRXYWH, &xc, &yc, &wc, &hc); graf_shrinkbox(msg[4], msg[5], msg[6], msg[7], xc, yc, wc, hc); wind_set(msg[3], WF_ICONIFY, msg[4], msg[5], msg[6], msg[7]); wptr->iconified = OPEN; /* set a flag to show state of window */ break; case WM_UNICONIFY: wind_get(msg[3], WF_CURRXYWH, &xc, &yc, &wc, &hc); graf_growbox(xc, yc, wc, hc, msg[4], msg[5], msg[6], msg[7]); wind_set(msg[3], WF_UNICONIFY, msg[4], msg[5], msg[6], msg[7]); wptr->iconified = CLOSED; /* set a flag to show state of window */ break; Slainte mhath Mark -- * Mark S Baines * FidoNet: 2:254/105.10@fidonet.org * * * NeST: 90:102/107.0@nest.ftn * * Inver, Scotland * TurboNet: 100:101/12.10@turbonet.ftn * * 01862 871624 * AtariNet: 51:502/0.10@atarinet.ftn *
Technical Details
Message-ID:
<Dq9ysE.JEJ@cix.compulink.co.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: msbaines@cix.compulink.co.uk ("Mark Baines")
Subject: Re: Iconify Under Magic 4
Date: 1996/04/22
Message-ID: <Dq9ysE.JEJ@cix.compulink.co.uk>
X-Deja-AN: 150830668
references: <37446307_OASIS_NEWS@yeadontt.demon.co.uk>
organization: Compulink Information eXchange
newsgroups: comp.sys.atari.programmer,comp.sys.atari.st,comp.sys.atari.st.tech,demon.ip.support.atari