View unanswered posts | View active topics It is currently Fri May 24, 2013 9:54 pm



Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2
 openFolderCommand. Dbl-clicking 2nd time same selection 
Author Message
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post 
No, I don't think it should go on the plugins page. It isn't particularly good, and probably won't be widely used anyway.


Tue Feb 27, 2007 6:52 am
Report this post
Profile WWW
Sponsored Links
Google Adsense


Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 
Why not? Someone may want it (evidence from someone asking for it.) I would recommend 1 modification to the source, remove ReadRCSettings (or atleast comment out the call to it). Since you aren't reading anything there is no sense finding the file. Just takes up processing to do nothing. And yes I know it is miniscual and done so fast I won't notice, but I noticed in the source :P

Also I think it's a pretty novel idea.

_________________
-- Brian


Tue Feb 27, 2007 4:31 pm
Report this post
Profile ICQ YIM WWW
Boy meets Box
User avatar

Joined: Fri Dec 29, 2006 2:47 am
Posts: 623
Location: in front of the monitor.
Reply with quote
Post 
I'd get it. :wink:

_________________
attack of the mini-man!
bb4win FAQs
mini-man-land


Tue Feb 27, 2007 4:59 pm
Report this post
Profile YIM WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post 
If we are going to place it, I would first like to modify it to make the windowclass configurable via the RC file. Then people could try it for other programs if they wanted to.


Tue Feb 27, 2007 8:12 pm
Report this post
Profile WWW
BBChild
User avatar

Joined: Wed Feb 21, 2007 8:57 pm
Posts: 11
Reply with quote
Post 
Tested on win2k3. it didn't worked at first. I just changed ExploreWClass to CabinetWClass in hex editor, so now it works on win2k3!

BTW i think something like Sleep(50); SetForegroundWindow(...) should be added, cause after double-clicking in explorer i have both windows active(that one where i clicked and that activated/opened window), and activated window is behind window where i clicked.

i have another question: where is the language bar on SystenBarEx ?? i use 2 input languages and i want to see what language is selected now.


Wed Feb 28, 2007 5:38 pm
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post 
Unless the window opening is the same as one already open the plugin doesn't do anything.

When you say we should add ForegroundWidnow(...), which window should be foregrounded? If windows you open aren't automatically in the foreground I don't think it is related to the plugin. (I hope) Does the same thing happen when you dont have OpenFocus loaded or does it open correctly?

Could you give an example of what you double-clicked and the window it opened?

I'll also make the windowclass configurable in the future.


Wed Feb 28, 2007 5:58 pm
Report this post
Profile WWW
Moderator
User avatar

Joined: Mon Dec 06, 2004 12:06 am
Posts: 411
Location: Kungsbacka, Sweden
Reply with quote
Post 
OK, let's say configurable window class and a short readme, and then I'll post it! ;)

BR//Karl -> qwilk


Wed Feb 28, 2007 6:37 pm
Report this post
Profile WWW
BBChild
User avatar

Joined: Wed Feb 21, 2007 8:57 pm
Posts: 11
Reply with quote
Post 
You shuold make foreground that windows that is activated. here's screenshot what happens if i dbl-click test1 folder while it's already opened. yes no new window opens(plugin works), but old windows activated but not bring to front.

(it seems like when plugin closes newly opened window, window with parent folder gets activated right after activation of old-already-opened window)


Attachments:
test.gif
test.gif [ 19.12 KiB | Viewed 2645 times ]
Wed Feb 28, 2007 7:27 pm
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post 
OK, I understand now. I'll try to have that done as soon as possible.


Wed Feb 28, 2007 8:41 pm
Report this post
Profile WWW
BBChild
User avatar

Joined: Wed Feb 21, 2007 8:57 pm
Posts: 11
Reply with quote
Post 
Ok, thanks!

maybe offtopic:
But what with language bar?? i can't even switch between input languages using alt+shift. Is there any hotkey i can add in BBKeys.rc for switching input lang. ?

ok, forget about language bar, i can live without it :)


Thu Mar 01, 2007 6:08 am
Report this post
Profile WWW
BBChild
User avatar

Joined: Wed Feb 21, 2007 8:57 pm
Posts: 11
Reply with quote
Post 
So when can i expect new version? :)
Or i can compile it myself. I'm just not very familiar with cpp and bbapi, if someone will tell me what other files except openfocus.cpp (*.h, *lib) i need, i can add that setforegroundwindow myself.
And can it be compiled with Dev-Cpp. I dislike M$ VS.


Thu Mar 08, 2007 8:42 am
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post 
I'm been snowed under with assignments and reading for university for the last week or so, and the plugin isn't cooperating. I can probably get a new version out next week monday or tuesday, once I finish everything off.

If you would like to compile it yourself you need bbApi.h and libBlackbox.a as well, which you can get from the bbLean SDK.

I compile it using mingw and MingwStudio, so you should have no problems with DevCPP.

You might find it easier to change the include entry for bbapi.h to
Code:
#include "bbapi.h"
so that you can place it in the same folder as openfocus.cpp.


Thu Mar 08, 2007 8:01 pm
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post 
O.K. managed to update it. Seems to be working on my comp the way you want it, but you'll have to test it.

The zip file contains the updated plugin and an rc file. The rc file contains the settings to make it work for explorer and MUST be used with this version.

I'll add the documentation in a day or two, its 7 pm and I don't feel like doing documentation now :P


Attachments:
File comment: Plugin, RC for explorer and source (no documentation as yet)
OpenFocus.zip [13.86 KiB]
Downloaded 195 times
Tue Mar 13, 2007 5:11 pm
Report this post
Profile WWW
BBChild
User avatar

Joined: Wed Feb 21, 2007 8:57 pm
Posts: 11
Reply with quote
Post 
Yes! It works now!
Thanks! :D


Wed Mar 14, 2007 6:41 pm
Report this post
Profile WWW
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2


Who is online

Users browsing this forum: BongangothE, ugupvetbi and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.