CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Location
    La Plata, Buenos Aires
    Posts
    615

    WM_CLOSE not received

    Has anyone experienced a situation where a child control "swallows" the WM_CLOSE message and the app does not exit?

    I'm receiving WM_CLOSE successfully until a tooltip is displayed and closed manually via TTM_TRACKACTIVATE. After that, main window does not receive WM_CLOSE.

    There is any special requirement on closing a window with a TOOLTIPS_CLASS as child? Maybe I need to "detach" (e.g. TTM_DELTOOL) properly before WM_CLOSE is received.

    I'm subclassing the tooltip, actually.

    I'll post some code later.

  2. #2
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244

    Re: WM_CLOSE not received

    Quote Originally Posted by indiocolifa View Post
    I'll post some code later.
    Would be great!
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

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