Solved

Window Order

Posted on 1998-11-20
1
169 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 100 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
ffmpeg - "rtsp://...... Operation not permitted" 4 69
fizzArray  challenge 1 49
scoreUp challenge 14 48
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

759 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

22 Experts available now in Live!

Get 1:1 Help Now