// resize child windows according to their fix attributes
for(CtrlCont_t::const_iterator it = m_ctrls.begin(); it != m_ctrls.end(); ++it)
EHFix hFix = it->m_hFix;
EVFix vFix = it->m_vFix;
I have to give credit for figuring this out to the senior developer here.
If you need to handle the WM_GETMINMAXINFO, skip it on the dialog create call. What I do is set 2 member variables m_lMinWidth and m_lMinHeight to 0 in the constructor, and check for 0 in the OnGetMinMaxInfo(...)
Like this :
Excellent piece of code, it is exactly what I have been looking for.
Do you have a non-MFC dependant version, ie. one that does not use CRect ? I would like to use this in an ATL App. that does not support MFC.