Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
1. Fix the focus issue on RDP Client from the AxInterop.MSTSCLib.dll
Updated: 18 Oct 2011
public class MsTSCLib2 : AxMSTSCLib.AxMsTscAxNotSafeForScripting{ public MsTSCLib2() : base() { } protected override void WndProc(ref System.Windows.Forms.Message m) { //Fix for the missing focus issue on the rdp client component if (m.Msg ==...
C#
|
|
|
|
2. Fix the focus issue on RDP Client from the AxInterop.MSTSCLib.dll
Updated: 28 Feb 2012
I had to modify your code a little to deal with some issues I was having. This will only focus if it needs to be focused.public class MsRdpClient7 : AxMSTSCLib.AxMsRdpClient7{ public MsRdpClient7() : base() { } protected override void WndProc(ref...
C#
|
|
|
|