MFC Sample ?
Posted on 1998-05-11
I'm a beginner in VC++/MFC and reading a sample of Microsoft : DLGTEMP
The DLGTEMPL sample shows how to create a dialog template dynamically
and use the template with CDialog::InitModalIndirect. The sample displays a
dialog box for selecting the height, width, and other attributes of a button,
static text, and multiline edit control, then displays the resulting dialog box
using templates in memory.
Why they had to use TRY; CATCH,... in CMyDialogTemplate::DemoIt() ?
Can I creat the second dialog by Resource editor with less code line, and
in this situation, of course I do not use TRY, CATCH?