Results 1 to 3 of 3

Thread: VC++ version of VB Control Arrays

  1. #1

    Thread Starter
    Fanatic Member Graff's Avatar
    Join Date
    Jan 2002
    Location
    Calgary
    Posts
    668

    VC++ version of VB Control Arrays

    I have a bunch of textboxes (edit boxes in vc++ I guess) Now I want them to share an array variable. How would I go about this?
    If wishes were fishes we'd all cast nets.

  2. #2
    Hyperactive Member made_of_asp's Avatar
    Join Date
    Jul 2001
    Location
    123 Fake Street
    Posts
    394
    something like this?

    HWND sharebox[20];

    and then set their handles
    VS.NET 2003

    Need to email me?

  3. #3

    Thread Starter
    Fanatic Member Graff's Avatar
    Join Date
    Jan 2002
    Location
    Calgary
    Posts
    668
    hmm possibly, maybe I'm going about this the wrong way. Maybe you have a better way of dealing with this. But basically I have 24 edit boxes, they all act the same way (they change text color based on characters at the start like no special characters it's blue, // its yellow, / it's green, etc etc)

    When all is said and done I want to print them all to a file and I thought it would be simplier to have an array to iterate through, but on further thought I was still thinking VB6 File I/O. Now that I recall C++ File I/O I don't think I need the array.
    If wishes were fishes we'd all cast nets.

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