CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Window sizing

  1. #1
    Join Date
    Apr 1999
    Posts
    14

    Window sizing

    i want to detect when a user has *finished* resizing a window - WM_SIZE occurs for every move - not what i need - since im not getting WM_NCLBUTTONUP in a sizeable dialog, does anyone know how to detect this ? Thanks!


  2. #2
    Join Date
    Apr 1999
    Posts
    25

    Re: Window sizing

    Hello,

    If this is about a view class with a frame window enveloping it,
    you may try overriding the RecalcLayout() method of the frame window class.
    I think that one is called when the sizing ends.


  3. #3
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Window sizing

    This doesn't necessarily answer your question, but I would like to point out that if the window has a system menu, it can be resized without the mouse. WM_NCLBUTTONUP would not have worked for those cases.

    Regards,

    Paul McKenzie


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