Click here to Skip to main content
15,881,741 members
Articles / Programming Languages / C#

Fix the focus issue on RDP Client from the AxInterop.MSTSCLib.dll

Rate me:
Please Sign up or sign in to vote.
4.25/5 (4 votes)
18 Sep 2010CPOL 37.2K   5  
Quick and dirty fix for the focus issue on the RDP Client.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
18 Oct 2011BruceCarson
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 ==...
Please Sign up or sign in to vote.
28 Feb 2012quik366
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...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Denmark Denmark

Comments and Discussions