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

    CComboBoxEx: Make read-only?

    How do you make the CComboBoxEx read-only?
    I tried the following code in OnInitDoalog, but to no avail:

    CEdit* pEdit = (CEdit*)GetDlgItem(IDC_COMBOBOXEX);
    pEdit->SetReadOnly(TRUE);


  2. #2
    Join Date
    May 1999
    Posts
    5

    Re: CComboBoxEx: Make read-only?

    You might look at the articles on combo boxes that look up strings in the list portion as you type characters in the edit box. I was browsing through them, and it seems that there's more to getting the edit box than what you are doing.


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