PC Review


Reply
Thread Tools Rate Thread

ComboBox OwnerDrawVariable Problem

 
 
Mike
Guest
Posts: n/a
 
      13th May 2004
Hi all!

I have an OwnerDrawVariable ComboBox in .net.
In the ComboBox DropDown event I display another control - works well.
In the control's Leave event I remove the control - works well.

So if you click on the DropDown button the control is displayed.
If you click anywhere other than the DropDown button the control is
removed. This works well. Sequence of events is:

ComboBox DropDown event
Leave Event


The problem is when you click on the DropDown button to display the
control and then click again on the DropDown button to collapse the
control. Sequence of events is:

ComboBox DropDown event
Leave Event
ComboBox DropDown event

How can I eat this 2nd ComboBox DropDown event?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Listbox with DrawMode.OwnerDrawVariable active Microsoft VB .NET 0 10th Jun 2007 01:01 PM
ListBox OwnerDrawVariable Max Microsoft Dot NET 2 1st Nov 2005 01:49 PM
Listbox OwnerDrawVariable Max Microsoft C# .NET 0 31st Oct 2005 08:49 PM
ListBox, ownerdrawvariable, weird behaviour? Özden Irmak Microsoft Dot NET Framework Forms 0 25th Oct 2004 03:34 PM
ListBox,OwnerDrawVariable...MeasureItem is called only once? Özden Irmak Microsoft Dot NET Framework Forms 4 12th Oct 2004 11:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.