If my custom drop down editor(which is basically a multiline text box) is removed from view because the user pressed escape, then I need to know so the propertygrid can ignore any changes made. My 'fantasy vb code for the EditValue function would be.
MyCtrl.edSvc = edSvc: MyCtrl.Value = value
edSvc.DropDownControl(MyCtrl)
if dropdrown was removed with escape key then
value is unchanged
else
value = MyCtrl.Value
end if
return value
This is causing me a real headache. Any advice would be appreciated - even if its to say its not possible. Everything else works fine, its just this escape problem.
Thanks again

PropertyGrid Guru needed for Custom Editor Problem.
Ali Raza Shaikh
- mike
S.Sriram
Any ideas on how to actually get these key presses would be great.
Could I get these from some 'Windows System Messages', you mentioned hooks
P.S I'm using VB.NET, a sample project could be provided for anyone interested.
Use of the PropertyGrid relies on this being solved. Thanks again to anyone that replies.
Magoo
Thanks.
Pedro_Ignacio
ChrisLyon
Ariel Valentin
Steve.
Miles Calunod
Thanks to all that helped.
Steve-T
James_Steven
nycole