xplorer2, GeoShell, and multiple instances

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

partnerinflight
New Member
Posts: 2
Joined: 2004 Dec 03, 19:12

xplorer2, GeoShell, and multiple instances

Post by partnerinflight »

I'm a newbie to Xplorer2, and am running into a problem I hope is easily solvable.

I'm using GeoShell as my shell manager, and what I notice is that any time I open a folder either from their CommandLaunchBar, or in any other way xplorer2 does not pop up on top of the other windows, but just appears flashing on the taskbar. That's really annoying -- every time I have to find it in the taskbar to bring it to the front.

Is there a solution for this? Ideally I'd have liked it to open in the current active Xplorer window, but I understand that's not easy to do. But at the very least I need the new instance to pop up in front of the other windows...

Any suggestions would be appreciated.

Thanks!
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i don't now geoshell but i think the topic has been discussed before
use the search feature of this forum to locate "geoshell"
partnerinflight
New Member
Posts: 2
Joined: 2004 Dec 03, 19:12

hmmm..

Post by partnerinflight »

Hmm, I did, but didn't find anything relevant. There were quite a few posts about opening up single-instance... and I've already given up on that baseed on your responses.

Hey if I made a small program to hack xplorer into single-instance mode, would anyone else use it? Oh wait. Conflict of interest with my current job. Damn.   :(

But look, nikos, it wouldn't be hard to do. Just make a separate exe that gets the folder open notifications instead of x2, finds the x2 process, and if one exists brings it to the top, enumerates windows to find the address bar, sets text to the arg passed in, and sends the appropriate EN_ message (I forget which one now.) Then x2 never needs to change at all... it'd just use an external helper.

Granted that's a hack, but I think it'd work. And I'd bet you could just as easily provide a WM_COPYDATA handler in X2 to allow copying the argument in directly without all that hacky stuff... That would be by far the easiest solution.

Now in terms of my problem, I'm actually not sure x2 can do anything about that one, although it's curious that some apps pop up on top, but x2 doesn't.  Maybe I should ask the geoshell folks.

Thanks!
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

nothing's hard, it just needs time!
if you really want to do a hack like that, send me an email and i'll tell you an "easy" way, similar to what dirkey does to work with x2