ComboBox with images
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: ComboBox with images

  1. #1
    Join Date
    Sep 2010
    Posts
    29

    ComboBox with images

    Hi everyone,
    I want create a combobox having an icon and a description in the same row. The icon is not in the resource (it must be a rectangle filled by a logical color), so I must create my CImageList run-time (DrawIndirect()?).
    I've already read all msdn documentation (http://msdn.microsoft.com/en-us/libr...ts(VS.80).aspx), but I can't fill my CComboBoxEx (even without icons), while I can fill a CComboBox (using AddString() method).
    Could someone explain me how can I create a combobox with images?
    Thanks a lot

  2. #2
    Join Date
    Sep 2010
    Posts
    29

    Re: ComboBox with images

    nobody?

  3. #3
    Join Date
    Apr 1999
    Posts
    3,585

    Re: ComboBox with images

    Sounds like you're looking for one of these.
    Gort...Klaatu, Barada Nikto!

  4. #4
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,471

    Re: ComboBox with images

    Quote Originally Posted by symreds View Post
    I've already read all msdn documentation (http://msdn.microsoft.com/en-us/libr...ts(VS.80).aspx), but I can't fill my CComboBoxEx (even without icons), while I can fill a CComboBox (using AddString() method)
    What problem did you have with filling CComboBoxEx?
    I never had any problem with it!
    Victor Nijegorodov

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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center