Solved

Capturing X Bad Window events.

Posted on 1997-12-08
3
170 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
[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
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 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