Results 1 to 3 of 3

Thread: ComboBox events?

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    ComboBox events?

    There is an event called DropDown, is there any event when the combobox "closes"?
    also when the combobox is open (dropDownList), and the user moves the mouse over an item, that item is highlighted. How can I figure out which item is the mouse over?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: ComboBox events?

    ComboBox1_Leave event fires when it closes & loses foucs .

  3. #3

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    no, hehe, doesnt fire at all! (I have one control in my test application )
    I found a way anyways. Since it's owner drawn, a DrawItem is fired when the combobox is closed. So in the DrawItem event I can just check for ComboBox.DroppedDown property and see if it is true or not.
    thanks anyways
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

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