Solved

Trapping window maximize minimize events.

Posted on 1998-09-25
1
695 Views
Last Modified: 2012-06-21
Having a WindowListener subclass, it allows the trapping of de/activate Closed/ing de/iconified opend/closed.... but where do I trap/inhibit the maximize/restore/minimize events?
0
Comment
Question by:nigel5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
sailwind earned 50 total points
ID: 1225008
The restore and minimize events are the deInconified and iconified events,
respectively. I went through the docs and I don't believe there is a listener
for the maximizing event since not all platform have them. Another listener
that may be useful is the componentListener, it has:

componentMoved()
componentResized()
componentHidden()
componentShown()

In short, use iconfied events to trap the minimizing event and
deiconified to trap the restoring event.

Hope this helped.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question