Solved

Capturing X Bad Window events.

Posted on 1997-12-08
3
166 Views
Last Modified: 2013-12-26
How (if posible) can I capture Bad Window events.  They just stop my program dead.  They will only happen once in a million years so I'm told but I would still like to capture them.

Thanks,  Tim.
0
Comment
Question by:tims
  • 2
3 Comments
 

Author Comment

by:tims
ID: 1295757
Edited text of question
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 1295758
Your window's event handler must catch all possible events,
using XNextEvent, XPeekEvent, IfEvent, CheckIfEvent, etc. etc. .
A lot of work for "once in a million years" :(
May be you can do it useing: XCheckMaskEvent, XCheckTypedEvent, XCheckWindowEvent, etc. etc. .
0
 

Author Comment

by:tims
ID: 1295759
Thanks.  Catching all events slows it down just a tad but it maybe enough to talk my boss into letting the uncommon error go.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeateFront java challenge 31 93
Generic progress indicator 6 117
Whole sheet autoscrub still needed 19 51
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 259
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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