OpenNETCF -ApplicationEX - Retrieve Sender from HWnd

  • Thread starter Christopher Pragash
  • Start date
C

Christopher Pragash

Hello All,

Using the OpenNETCF framework ApplicationEX filters, how would I retrive the
control on which the key was pressed. In other words, I am added a filter
for keydown, and my form has a textbox and one checkbox. How would I know on
which control the keydown even occured - I need to perform different actions
based on the control the keydown event occured. Is there anyway to retrieve
the "sender" from the handle "HWnd"?

Again - Hats off to all the guys working on that framework!!!

Thanks,
Chris
 
C

Christopher Pragash

Alex,

Thanks - I did realize that that was the way to do it - but I was kind of
hoping there was a P/Invoke dll that returned the control from the handle.
This approach will also work.

Thanks again,
chris
 

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

Top