|
|
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.
![]() |
=> | ![]() |
cdxCDynamicWnd
, cdxCDynamicWndEx
CWnd
-derived class.
cdxCDynamicDialog
CDialog
replacement that
allows you to dynamically move your controls.
cdxCDynamicChildDlg
cdxCDynamicFormView
CFormView
, now supports
the scrollbars, knows its own size perfectly and stuff!
cdxCDynamicPropSheet
, cdxCDynamicPropPage
CPropertySheet
/ CPropertyPage
replacement.
cdxCDynamicBar
, cdxCDynamicBarDlg
and
cdxCDynamicBarT<>
CSizingControlBar
published at CodeGuru.com by Cristi Posea.
cdxCDynamicControlsMananger
+ associated classes? cdxCDynamicControlsManager
code into a
cdxCDynamicWnd
code. :(
HWNDs
and IDs instead of
CWnds
.::DeferWindowPos()
instead of
::SetWindowPos()
to decrease flickering (for all classes). *
cdxCDynamicDialog
(looks
much better!). *
CFormView
(and any other class,
if you enable it by hand). *
* ~ 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.
Click here to view Hans Bühler's online profile. |
![]() |
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. |