Fix connection bar being shown when connecting to an RDP connection with redirect key combinations enabled.

This commit is contained in:
Riley McArdle
2013-02-28 22:46:07 -06:00
parent 92c18a45ba
commit 7d1d03e8cd
2 changed files with 8 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
Fixed issue MR-342 - Incorrect view in config pane of new connection after viewing default inheritance
Added detection of newer versions of connection files and database schemata. mRemoteNG will now refuse to open them to avoid data loss.
Improved appearance and discoverability of the connection search box.
If RDC 7.0 or higher is installed, the connection bar is no longer briefly shown when connecting to an RDP connection with redirect key combinations enabled.
Fixed issue MR-339 - Connection group collapses with just one click
Fixed issue MR-340 - Object reference not set to an instance of an object.

View File

@@ -316,6 +316,12 @@ Namespace Connection
RDP.AdvancedSettings2.ContainerHandledFullScreen = 1
RDP.AdvancedSettings2.DisplayConnectionBar = False
RDP.AdvancedSettings2.PinConnectionBar = False
If RDPVersion >= Versions.RDC70 Then
Dim msRdpClientNonScriptable As MSTSCLib.IMsRdpClientNonScriptable5 = RDP.GetOcx()
msRdpClientNonScriptable.DisableConnectionBar = True
End If
RDP.FullScreen = True
End If
Catch ex As Exception
@@ -626,6 +632,7 @@ Namespace Connection
Public Class Versions
Public Shared RDC60 As New Version(6, 0, 6000)
Public Shared RDC61 As New Version(6, 0, 6001)
Public Shared RDC70 As New Version(6, 1, 7600)
End Class
#Region "Terminal Sessions"