Re: Dock functionality in MFC
"Dock functionality" refers to being able to attach a window to the main
program frame. This is really a separate issue from resizing controls when
the parent dialog box resizes.
Resizing the controls can get complicated if you need your fonts to resize
as well. There are a few ways you can approach it. I know there has been
some attempts at general code for this (you might search codeproject.com),
but basically I'd say you'll need to rearrange the controls yourself.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"Leon_Amirreza" <amirreza_rahmaty@yahoo.com> wrote in message
news:%23w7zpBCxGHA.4200@TK2MSFTNGP04.phx.gbl...
any way i can have the Dock functionality on pure mfc dialog?
in other word i want the controls resize when the user resizes the dialog!
I think i have to map WM_SIZE message but my calculation are incorrect and
the cotrol gets bigger than the dialog and some part of falls out of it!?
please send me some sample code