Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Grid Tech Support » Edited Cell question Collapse All
Subject Author Date
Alex Pag Jan 14, 2010 - 7:21 AM

how i can catch event when i press some key in my edited cell?

Technical Support Jan 15, 2010 - 8:50 AM

At this moment there are no events that would allow you to analyze which key was pressed. As a workaround you can use the Application::AddMessageFilter() method:

http://msdn.microsoft.com/en-us/library/system.windows.forms.application.addmessagefilter.aspx

It allows you to register your message filter interface which pre-translates and filters window messages. WM_KEY*** messages are always sent to the focused window only. Your message filter can determine if the parent window of the focused window is the elegant grid control.