Thread: parent window minimizing on child window destruction

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158

    parent window minimizing on child window destruction

    Okay so I have parent window. When clicking on a button, another overlapped window is created using the parent as it's parent. It works fine, but when I close the child overlapping window, the parent automaticly minimizes. Why is this, and how can I stop it?

    P.S. And I don't want to have to use the SetForegroundWindow/SetFocus patch that I'm currently using.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Strange. Have you run it under the debugger to see what kind a messages are coming into the parent when the child is closed?

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 10-15-2008, 09:24 AM
  2. process programming
    By St0rM-MaN in forum Linux Programming
    Replies: 2
    Last Post: 09-15-2007, 07:53 AM
  3. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  4. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM