CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    6

    Z-order with parent/child windows

    I have a parent window with multiple child windows. How can I make the parent window come to the foreground and display on top of the child windows when the user wished to "use" the parent window. This app does not use MFC.



  2. #2
    Join Date
    Apr 1999
    Location
    California, USA
    Posts
    9

    Re: Z-order with parent/child windows

    Check out SetWindowPos() and SetForegroundWindow()


  3. #3
    Join Date
    Apr 1999
    Posts
    24

    Re: Z-order with parent/child windows

    It is in the fundamental nature of child windows to show on their parents. Even their coordinates are relative to their parents. It's not clear what you're trying to do, but if you want to make it appear that the parent is higher in the z-order, hide the children or move them outside the coordinates of the parent.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured