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.
 
Back
Top