A better way to write / read dozens of textboxes?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 42

Thread: A better way to write / read dozens of textboxes?

Threaded View

  1. #7
    Join Date
    Jun 2011
    Posts
    25

    Re: A better way to write / read dozens of textboxes?

    I'm on my first VC project so followed this thread with avid interest.

    What I would appreciate is one or more pointers to info on how to achieve what has been hinted at here, namely encapsulating controls in a class.
    Quote Originally Posted by Eri523 View Post
    Finally, the most elegant and efficient approach would probably be, like already suggested by D_Drmmr, to create your own class to bundle the controls for each channel. I'd probably do that myself in the form of an EQ band control class, derived from Panel or even GroupBox. That would be some additional effort up-front but is likely to pay later by simplifying things.
    I know how to access controls from a class but that's not the same thing as encapsulating (or "wrapping") is it.
    "Add component class" (project menu) looked promising with designer code section in .h but no meaningfull designer view and I can't find any help on what this is or how to use it. Tried to search this forum but... (it still seems to be working on my first search...)
    RD
    Last edited by RogerD; October 18th, 2012 at 06:22 AM.

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center