Solved

C++ Windows Overlapping....

Posted on 2003-11-17
7
283 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
[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
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

Independent Software Vendors: 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

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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…
Simple Linear Regression

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