detect if current IE window is a pop up

Add-in Express™ Support Service
That's what is more important than anything else

detect if current IE window is a pop up
 
Juan Carlos Ruiz Pacheco




Posts: 40
Joined: 2010-05-11
How CanI detect if current IE window is a pop up?
Juan Carlos Ruiz
Microsoft MVP Visual C#
Systems Engineer
MCP, OCA, OCP
Posted 28 May, 2010 09:37:39 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
It depends on your application. E.g. you can detect it by the url.
Posted 28 May, 2010 10:06:17 Top
Juan Carlos Ruiz Pacheco




Posts: 40
Joined: 2010-05-11
oops
I need to detect any pop up to avoid sidear be loaded in pop ups :S
Juan Carlos Ruiz
Microsoft MVP Visual C#
Systems Engineer
MCP, OCA, OCP
Posted 28 May, 2010 10:07:24 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Juan.

Actually it is difficult to implement. All instances of IE are independent.
But you can try to create a variable in the system registry before you open a new popup window. Then if the variable exists in the registry, you can hide the bar in the OnConnect event handler and remove the variable.
Posted 31 May, 2010 09:37:26 Top