M
ME
In some cases a form did not come forward in .NET CF 1.0. Does .NET CF 2.0
have better way to do this now? I noticed that the forms now offer handles.
In version 1.0 it was necessary to use OpenNETCF:
http://www.peterfoot.net/CommentView,guid,a4bca0e4-439b-411a-87cd-0950e9d16b10.aspx
Snipit from Peter's page:
public void SetForegroundWindow()
{
this.Capture = true;
IntPtr hwnd = OpenNETCF.Win32.Win32Window.GetCapture();
this.Capture = false;
OpenNETCF.Win32.Win32Window.SetForegroundWindow(hwnd);
}
Thanks,
Matt
have better way to do this now? I noticed that the forms now offer handles.
In version 1.0 it was necessary to use OpenNETCF:
http://www.peterfoot.net/CommentView,guid,a4bca0e4-439b-411a-87cd-0950e9d16b10.aspx
Snipit from Peter's page:
public void SetForegroundWindow()
{
this.Capture = true;
IntPtr hwnd = OpenNETCF.Win32.Win32Window.GetCapture();
this.Capture = false;
OpenNETCF.Win32.Win32Window.SetForegroundWindow(hwnd);
}
Thanks,
Matt