Windows Forms III – Dynamic Layout


I’m not going to belabor my blog with yet another code explanation.  I’ve converted the dynamic layout example (found here) from C# to C++.  It isn’t especially interesting, but it is good groundwork for later examples and projects.


Get the code!  You can download this dynamic layout example here.  As usual, both old and new syntax versions are included.  And, as usual, if the old syntax version doesn’t seem to compile, please let me know.  The comments section on the sample download page has a note about avoiding a compiler warning.

Comments (2)

  1. Anonymous says:

    What I would really like is a dynamic layout system, similar to those found in other GUI toolkits such as Java’s AWT/Swing, Trolltech’s QT, Magic User Interface on the Amiga, etc. I think it was a big mistake to omit this kind of functionality. I’m glad that it will be addressed for Longhorn but I’d love to have it today, without having to roll my own classes.

  2. Anonymous says:

    I’m not going to belabor my blog with yet another code explanation. I’ve converted the dynamic layout example (found here ) from C# to C++. It isn’t especially interesting, but it is good groundwork for later examples and projects. Get the code! You ca