Customize Winforms ComboBox With Image From Local Resources
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Customize Winforms ComboBox With Image From Local Resources

  1. #1
    Join Date
    May 2013
    Posts
    1

    Customize Winforms ComboBox With Image From Local Resources

    I am trying to customize my own ComboBox that works similar to the original Combobox in Winforms, only difference is the design/look. I have the picture file of the arrow button, the rectangle and the dropdown list in my local resources.

    I have searched the net and all I can find is the codes that I would have to draw the Combobox myself in the code like using the Rectangle function and specify the rectangle width, height etc.

    So I would like to ask if it is possible to use images from local resources to customise my ComboBox while still maintaining the functions for the Combobox. If yes, please show some code snippets like which classes and methods I should use. (I using C# btw)

    Thank You

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,074

    Re: Customize Winforms ComboBox With Image From Local Resources

    Not sure if this will help, but read my article here :

    http://www.codeguru.com/csharp/cshar...Box-with-C.htm

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