Quote:
> Hey,
> Does anyone know how I can get the size of a dialog box? I need to be able
> to find out the size of a dialog box created with MFC. I'm mostly familiar
> with DOS C++, so I'm a newb when it comes to Windows programming.
> I'm guessing it has something to do with the CClientDC class, but I could be
> wrong. Any help would be appreciated.
The size (and position) of any window, including a dialog, is returned
by GetWindowRect.
--
Scott McPhillips [VC++ MVP]