Solved

C++ Windows Overlapping....

Posted on 2003-11-17
7
252 Views
Last Modified: 2010-04-17
How can I tell whether or not some other random window is blocking part of mine?  This is needed so I can redraw my window when it, or part of it, is again visible.  You know what I am trying to say....
0
Comment
Question by:jarnjar
  • 2
7 Comments
 
LVL 23

Expert Comment

by:brettmjohnson
ID: 9769220
This depends upon the operating system and window server you are programming to.
For instance, in my preferred development environments (NeXTstep, OpenStep, Mac OS X)
you would register a delegate of the Window that implements the windowDidExpose: and
windowDidResize: methods.

0
 

Author Comment

by:jarnjar
ID: 9769367
This is a windows program.
0
 
LVL 22

Accepted Solution

by:
cookre earned 125 total points
ID: 9770521
Uh, in MS Windows, after you've created your window and painted it, you'll get a WM_PAINT message whenever someone has stepped on you thereby requiring you to re-paint all or some portion of the window.
0
 
LVL 22

Expert Comment

by:cookre
ID: 9889083
Did that work for you?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now