intercepting keypress


M

mevar81

Hello to everybody.I have a problem.I have a property
grid that display several properties of a object.I have a
properties that store the image but I want to display the
file name.So I have modified the editor of the image and
the typeconverter of the image.
So I have inherit from ImageConverter and from
ImageEditor. Everything work fine but when I press the
CANC button on the property of the image it doesn't
cancel the image but the name of the file.(only one
charachter each time).Anyone know how to intercept the
keypress event in my custom image editor or im my custom
image converter?
 
Ad

Advertisements

R

Roy Osherove

Hello to everybody.I have a problem.I have a property
grid that display several properties of a object.I have a
properties that store the image but I want to display the
file name.So I have modified the editor of the image and
the typeconverter of the image.
So I have inherit from ImageConverter and from
ImageEditor. Everything work fine but when I press the
CANC button on the property of the image it doesn't
cancel the image but the name of the file.(only one
charachter each time).Anyone know how to intercept the
keypress event in my custom image editor or im my custom
image converter?
look into Control.ProcessDialogKey()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Intercepting Container 0
KeyPress Not Firing 3
Intercepting events 4
keypress handling 2
RichtextBox KeyPress 0
KeyPress concept? 3
KeyPress at DataGrid 1
Intercepting DeleteItem event 1

Top