get last focus window

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

In .net cf , Can i get last active window handle when my form getfocus ?
I know , in evc , WM_ACTIVATE hwndPrevious is the handle to the window
being deactivated .but how can get this value in c#?
 
There is no direct way to get access to Control that just lost focus, you
can build a solution yourself by hooking into LostFocus on all the controls
and keeping track of it explicitly.

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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

Back
Top