CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: VC++

  1. #1
    Guest

    VC++

    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 ?


  2. #2

    Re: VC++

    Try CreatDialogIndirect( ) to create the dialog, and then just CButton::Create( ) to create the controls.

    LA Leonard - Definitive Solutions, Inc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured