Article View: borland.public.jbuilder.java.api
Article #3082Re: HOW TO DISABLE MAX/MIN/CLOSE System buttons on the right top corner
From: Rich Wilkman
Date: Mon, 27 Apr 1998 00:00
Date: Mon, 27 Apr 1998 00:00
90 lines
3145 bytes
3145 bytes
Jeff:
You are correct. I was under the impression he wanted them not to
show which, if distant memory of Delphi serves, is what the property
did. In your case the min/max, etc are still present but not
functioning.
-Rich
Jeff Bourne wrote:
>
> Wrong. You need to implement WindowListener, which requires the
> following
> methods. Then just override the methods with what you want to do.
> //windowing controls...required for window listener
> public void windowClosing(WindowEvent e) {
> System.exit(0);
> }
>
> public void windowClosed(WindowEvent e) {}
>
> public void windowIconified(WindowEvent e) {}
>
> public void windowOpened(WindowEvent e) {}
>
> public void windowDeiconified(WindowEvent e) {}
>
> public void windowActivated(WindowEvent e) {}
>
> public void windowDeactivated(WindowEvent e) {}
>
>
>
> Rich Wilkman wrote:
> >
> > Ahmet:
> >
> > You don't. Those come from the peer surfaced by WinTel native code.
> >
> > -Rich
> >
> > Ahmet Haliloglu wrote:
> > >
> > > Hi,
> > >
> > > Can anyone tell me how can I disable the maximize / minimize / close
> > > system buttons
> > > on the top right corner of a frame. Is there any property similar to
> > > ones in DELPHI.
> > >
> > > thanks
> > >
> > > ayh
> >
> > --
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > Rich Wilkman
> > Senior Quality Assurance Engineer
> > Borland JBuilder Team
> >
> > If you see something that looks like an opinion up there,
> > it's mine and mine alone.
> >
> > Mail sent to me from the newsgroups won't bounce but will
> > be ignored. If I have time, I'll respond, but you have
> > a better chance if you confine your posts to the newsgroups
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> CPT(P) Jeff Bourne W: (409)862-4871
> Bryan, TX F: (409)260-0149
> PGP Fingerprint:
> D47E 4285 2695 EC2D 423B 6F12 E9B4 4BE2 17DF 436F
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team
If you see something that looks like an opinion up there,
it's mine and mine alone.
Mail sent to me from the newsgroups won't bounce but will
be ignored. If I have time, I'll respond, but you have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<3544B61D.F6A7772C@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35251C77.DC04AA5D@ug.bcc.bilkent.edu.tr> <352572A0.72840A13@corp.borland.com> <3544779B.B5867352@cs.tamu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,8746ecf2a07f6296 X-Google-Attributes: gid1089d0,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: HOW TO DISABLE MAX/MIN/CLOSE System buttons on the right top corner Date: 1998/04/27 Message-ID: <3544B61D.F6A7772C@corp.borland.com> X-Deja-AN: 348134013 Content-Transfer-Encoding: 7bit References: <35251C77.DC04AA5D@ug.bcc.bilkent.edu.tr> <352572A0.72840A13@corp.borland.com> <3544779B.B5867352@cs.tamu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.api