This method can be used to ensure that the URL that was added using the SetURL method is the foreground tab of the container.
HRESULT BringToFront(
[in] int nContainer,
[in] BSTR TabName)
Parameters:
nContainer – The container index that specifies which container you are referring to. The index can be one of the following:
Upper Left = 0
Lower Left = 1
Main = 2
Message Bar = 3
TabName – A string that holds the tab name of the new URL that is being added to the container.