Home > Software engineering >  How to hide the child window TAB of the IE?
How to hide the child window TAB of the IE?

Time:10-02

Want to be a boss key tools, IE looks like the child window is painted, no child window handle, how to do?

CodePudding user response:

Well, it seems that only use the method of painting to cover the TAB titles?

CodePudding user response:

To a hidden all the ie Windows (including the resource manager) code:
 Sub Test () 
' 'reference in the engineering Microsoft Internet controls,
Dim IES As New SHDocVw. ShellWindows
Dim an aIE As InternetExplorer
Dim As Long I
For I=0 To IES. Count - 1
Set an aIE=IES. The Item (I)
An aIE. Visible=True
Next
Set an aIE=Nothing
The Set of IES=Nothing
End Sub


CodePudding user response:

Wrong, is
An aIE. Visible=True===& gt; An aIE. Visible=False

CodePudding user response:

refer to the second floor Topc008 response:
to a hidden all the ie Windows (including the resource manager) code:
 Sub Test () 
' 'reference in the engineering Microsoft Internet controls,
Dim IES As New SHDocVw. ShellWindows
Dim an aIE As InternetExplorer
Dim As Long I
For I=0 To IES. Count - 1
Set an aIE=IES. The Item (I)
An aIE. Visible=True
Next
Set an aIE=Nothing
The Set of IES=Nothing
End Sub


Resource manager, that may be hidden, give you changed under
 
Dim IES As New SHDocVw. ShellWindows
Dim an aIE As InternetExplorer
Dim As Long I
For I=0 To IES. Count - 1
Set an aIE=IES. The Item (I)
If an aIE Is Nothing Then the Exit For

'Windows explorer
'Internet Explorer
If an aIE. Name="Internet Explorer" is Then an aIE. Visible=Not an aIE. Visible
Next
Set an aIE=Nothing
The Set of IES=Nothing

CodePudding user response:

I mean hiding a TAB TAB, and not to hide the browser window
  • Related