CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Location
    SA
    Posts
    147

    Creating dynamic controls ...

    I know you can in VB create a control, using the method, of Load when the control is an array, and has the Index property set eg:

    Load Text1

    this will create a second control on the form ...

    Ok when this is being done in C/C++ you use the CWnd::Create function to create a control, but this control does not have to have the Index property, ect. set ...

    You can use the c/c++ code to generate "generic" forms ...

    Is there an API call in VB to create controls dynamically (not using the Load method, something like the c/c++ equal in the kernel32, or advapi, or any other standard windows .dll file), or do I have to create a c/c++ .dll file to handle this for me ... ?

    Thanx in advance...

    xIRC

  2. #2
    Join Date
    Mar 2003
    Location
    SA
    Posts
    147

    Nevermind ...

    Sorry nevermind this post got it .... ->

    CreateWindowEx ()


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