Results 1 to 2 of 2

Thread: Owner drawn Combo Box

  1. #1

    Thread Starter
    Addicted Member DJ_Catboy's Avatar
    Join Date
    Jan 2003
    Location
    Suffolk, UK
    Posts
    159

    Owner drawn Combo Box

    Hi,

    I want to play with this owner drawn stuff - sounds cool!

    No seriously, I need to create a combo box that when you click the dropdown a listview is displayed. I presume that I need to set this control to be owner drawn but it doesn't have a property like other controls...! Am I looking at this the wrong way? If I was in VB6 I would subclass the object so that on a dropdown message I would hook it and make a listview visible, etc.... but now I am lost! Can anybody help?

    Thanks,
    DJ

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I think that first thing you have to do is overriding the 'DropDown' event . I've done something simple in VB.NET not C# . It overrides the 'Closing' event to use the one I want to implement .

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