?
Solved

Capturing X Bad Window events.

Posted on 1997-12-08
3
Medium Priority
?
172 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 400 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

718 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