parent window minimizing on child window destruction

This is a discussion on parent window minimizing on child window destruction within the Windows Programming forums, part of the Platform Specific Boards category; Okay so I have parent window. When clicking on a button, another overlapped window is created using the parent as ...

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

    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.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,652
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21