Article View: comp.sys.atari.programmer
Article #15Re: Iconify Under Magic 4
From: bbrysh
Date: Fri, 26 Apr 1996 00:00
Date: Fri, 26 Apr 1996 00:00
33 lines
1802 bytes
1802 bytes
In article <37446307_OASIS_NEWS@yeadontt.demon.co.uk>, phil@yeadontt.demon.co.uk (Phil Yeadon) says: > > > Does anyone know the value of the WM_ICONIFY variable given in the >Magic 4 hyper text documents. > > 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!!!! > #define WM_ICONIFY 26 #define WM_UNICONIFY 27 These values are the values for iconifying and uniconifying a window. The rest of the parameters passed are the size of the window to make when iconifying or uniconifying. eg.: wind_set (wind_handle,WM_UNICONIFY,x,y,w,h) x,y,w,h = dimensions of the uniconified window. Hope this helps. Blaine Brysh
Technical Details
Message-ID:
<4lps7f$444@hermes.oanet.com>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: 1115ce,c7d95aa459835575 X-Google-Attributes: gid1115ce,public X-Google-Thread: 109a67,c7d95aa459835575 X-Google-Attributes: gid109a67,public X-Google-Thread: 112f4b,c7d95aa459835575 X-Google-Attributes: gid112f4b,public From: bbrysh@oanet.com (bbrysh) Subject: Re: Iconify Under Magic 4 Date: 1996/04/26 Message-ID: <4lps7f$444@hermes.oanet.com> X-Deja-AN: 151522612 references: <37446307_OASIS_NEWS@yeadontt.demon.co.uk> organization: OA Internet newsgroups: comp.sys.atari.programmer,comp.sys.atari.st,comp.sys.atari.st.tech,demon.ip.support.atari