CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    74

    Simple Combo Box . . .

    placed on a CFormView. The user types in something to be added to the list box portion of the Combo box. How do you retrieve the string? Tried GetWindowText passing a CString . . Appreciate any suggestions. Thanks, JD



  2. #2
    Join Date
    Apr 1999
    Posts
    23

    Re: Simple Combo Box . . .

    Have you tried GetLBText?

    Regards,
    Thomas


  3. #3
    Join Date
    Apr 1999
    Posts
    74

    Re: Simple Combo Box . . .

    Yes, but that initiates a CString with one of the (zero based) items in the list box portion of the CComboBox. I'm trying to copy a user's input ( in the edit control portion) to the list portion. AddString is the right function, but requires the text (CString) be a perimeter. Thanks for your help, & would appreciate any other ideas. JD



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