CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Location
    San Jose, CA
    Posts
    33

    How to simulate OnSizing() for CView

    Hello there!
    What am I supposed to do in order to keep a fixed X/Y ratio of my CView-based window client part? The CView-based classes (as well as the CChildFrame-based) do not receive OnSizing notifications... and I would hate to resize it again after OnSize() is called.

    Thank you,
    Mike

  2. #2
    Join Date
    May 2003
    Location
    San Jose, CA
    Posts
    33

    Unhappy Re: How to simulate OnSizing() for CView

    Well, I tried to use OnWindowPosChanging() notification - and that does not work either
    What could be a problem in that neither OnSizing nor OnWindowPosChanging() are not even called when I resize a View?

    Thanks,
    Mike

  3. #3
    Join Date
    Apr 2003
    Location
    kathmandu, nepal
    Posts
    1,570

    Re: How to simulate OnSizing() for CView

    See the WM_GETMINMAXINFO message
    If there is no love sun won't shine

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