All Topics, MFC / C++ >> Dialog and Windows >> General
http://www.codeproject.com/dialog/dynwindow.asp

Dynamic child window positioning
By Hans Bühler

Describes a method to implement resizable child windows. 
  C++ (VC6)
Windows (Win95, Win98, WinME, NT4)
MFC, Win32, VS
Dev
  Posted 23 Feb 2000
105,557 views
56 members have rated this article. Result:
Popularity: 8.04. Rating: 4.6 out of 5.
  • Download source files - 108 Kb

    This article replaces my former article "Dynamic child window positioning" (cdxCDynamicControlsManager).
    See the what's new section to find our whether it's worth changing your code.

    What's this article about?

    I'll introduce you to some of my code that has will make your windows support automatic repositioning of their child controls. I'll call such windows dynamic (since they don't have a static size and child control ordering but dynamic ones):

    cdxCDynamicWnd-small.gif (2466 Byte)   => cdxCDynamicWnd-big.gif (2928 Byte)

    What classes are part of this release?

    What's new in contrast to my former cdxCDynamicControlsMananger + associated classes?

    * ~ Suggested by users of my cdxCDynamicControlsManager :)

    However, since I rewrote much of the code of the cdxCDynamicControlsManager, you cannot switch from that class to my new cdxCDynamicWnd without further work to be done; converting a cdxCSizingDialog into a cdxCDynamicDialog would need help by you.

    A documentation file is included in the sub-directory codex/doc/cdxCDynamicWnd-DOC.html.

    Any suggestions & bug-reports are welcome.

  • Hans Bühler


    Click here to view Hans Bühler's online profile.


    Discussions and Feedback

    43 comments have been posted for this article. Visit http://www.codeproject.com/dialog/dynwindow.asp to post and view comments on this article.
    All Topics, MFC / C++ >> Dialog and Windows >> General
    Updated: 23 Feb 2000
    Article content copyright Hans Bühler, 2000
    everything else Copyright © CodeProject, 1999-2004.