Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Window Order

Posted on 1998-11-20
1
Medium Priority
?
179 Views
Last Modified: 2013-11-20
 I have an application that can have multiple top level windows (owned by the desktop).  I am trying to control the order of these windows by using CWnd::SetOwner().  The problem is when I call SetOwner the owner is not getting changed.  I am verifying this by using spy.  

  Any ideas why this call would be failing?

Thanks
 
0
Comment
Question by:mcorcora
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1325075
If you want to change the order, you need to use SetWindowPos(). One of the parameters indicate what window to put this window after in terms of Z-order.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

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 …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

927 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