المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Preventing the dropdown from being opened when drop down button pressed in combobox?



C# Programming
02-11-2010, 05:00 PM
Hello All,

I have an issues, i want to cancel the dropdown from being opened after validating the dropdown button clicked.

i tried with setting droppeddown property to true as suggested by one of the member from this forum in earlier post. But that is also not avoiding the dropdown from being opened.

I also tried to override the wndProc method and canceling the event it self but that is also not working . Please suggest me what i need to do so that i can avoid the dropdown after custom validation.

Thanks in Advance.
Ron