Click to See Complete Forum and Search --> : VC++


April 10th, 1999, 02:25 AM
Can I create Dialog box at run time i.e without creating template through my resource editor ?
I tried to look & found a function Create() but it takes a parameter CWnd * how do I get the ptr of my view.
Am I on right track ?
Also at runtime I want to place controls on it,can I do such things ?

LALeonard
April 11th, 1999, 03:27 PM
Try CreatDialogIndirect( ) to create the dialog, and then just CButton::Create( ) to create the controls.

LA Leonard - Definitive Solutions, Inc.