mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2010
Posts: 30
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Apr 2010
Posts: 30
For some reason the following setup seems to be problematic when using IE as the default browser:
[ ] open a new window
[x] Activate the window

When clicking a link sometimes the IE window is activated correctly, sometimes it is not and just flashes in the task bar.

I can't recognize any scheme about when it works and when it doesn't.

I also noticed that
/run <URL>
works correct all the time.

Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
This is related to the DDE issue reported in this thread. It seems that the DDE parameter that indicates whether a browser window should be activated or not is no longer consistently acknowledged by Internet Explorer or Firefox.

The reason /run always works to activate a browser window is that it is directly asking Windows to use the default method to open a browser, and in this case Windows always activates the window. I will change the next version to use /run if the "activate" option is enabled which should solve this particular issue.

Joined: Sep 2010
Posts: 1
S
Mostly harmless
Offline
Mostly harmless
S
Joined: Sep 2010
Posts: 1
Out of curiosity, how exactly does /run accomplish that? ShellExecute? And if yes, what value is nShowCmd? Trying to figure out why there's a discrepancy in browser windows sizes when launched from mIRC and explorer.


Link Copied to Clipboard