| Author |
Message |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 263 Location: Pretoria, South Africa
|
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 |
|
 |
|
Google
Sponsored Links
|
|
 |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|
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
Also I think it's a pretty novel idea.
_________________ -- Brian ♠ ♥ ♣
|
| Tue Feb 27, 2007 4:31 pm |
|
 |
|
/\/\inimal
Boy meets Box
Joined: Fri Dec 29, 2006 2:47 am Posts: 623 Location: in front of the monitor.
|
I'd get it. 
_________________ attack of the mini-man! bb4win FAQs mini-man-land
|
| Tue Feb 27, 2007 4:59 pm |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 263 Location: Pretoria, South Africa
|
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 |
|
 |
|
denis111
BBChild
Joined: Wed Feb 21, 2007 8:57 pm Posts: 11
|
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 |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 263 Location: Pretoria, South Africa
|
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 |
|
 |
|
qwilk
Moderator
Joined: Mon Dec 06, 2004 12:06 am Posts: 411 Location: Kungsbacka, Sweden
|
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 |
|
 |
|
denis111
BBChild
Joined: Wed Feb 21, 2007 8:57 pm Posts: 11
|
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 [ 19.12 KiB | Viewed 2645 times ]
|
| Wed Feb 28, 2007 7:27 pm |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 263 Location: Pretoria, South Africa
|
OK, I understand now. I'll try to have that done as soon as possible.
|
| Wed Feb 28, 2007 8:41 pm |
|
 |
|
denis111
BBChild
Joined: Wed Feb 21, 2007 8:57 pm Posts: 11
|
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 |
|
 |
|
denis111
BBChild
Joined: Wed Feb 21, 2007 8:57 pm Posts: 11
|
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 |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 263 Location: Pretoria, South Africa
|
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 so that you can place it in the same folder as openfocus.cpp.
|
| Thu Mar 08, 2007 8:01 pm |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 263 Location: Pretoria, South Africa
|
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 
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 |
|
 |
|
denis111
BBChild
Joined: Wed Feb 21, 2007 8:57 pm Posts: 11
|
Yes! It works now!
Thanks! 
|
| Wed Mar 14, 2007 6:41 pm |
|
 |
|
Google
Sponsored Links
|
|
 |
|