Important alert: (current site time 7/16/2013 2:50:19 AM EDT)
 

winzip icon

FlyingWindows - An AddIn by Light Templer - NEW VERSION 2.5.0 from 10/20/2004 NOW WITH AUTOCOMPLETE

Email
Submitted on: 10/4/2004 5:00:10 AM
By: Light Templer 
Level: Advanced
User Rating: By 42 Users
Compatibility: VB 6.0
Views: 24406
(About the author)
 
     Flying Windows claims fully back the valuable work area of your IDE! No unneeded tool or property window is open when writing code or designing a form. Now the whole screen belongs to you to design your form or write some code! And when you need a tool/property window: One quick move (no mouseclick!) of your mouse is enough to get it back / take it away. ___ 2nd hilite: Small property windows for controls like the known tooltips are assisting your form design! ___ And some more nice gimmicks... ____ Advertisement stop. ;) - To the facts: Implemented in Flying Windows so far * Hotcorners for most used tool windows (toolbox, properties, project explorer and immediate window) * Empty the immediate window when ctrl key is pressed on opening by hotcorner. * Tooltip windows for controls showing the name and the most important properties. * Click on a property value in the tooltip window with ctrl key pressed puts this value into the clipboard. * Tooltip windows are moveable by caption bar. Leave them open with ctrl key pressed when mouse leaves tooltip window. Close them with a simple mouseclick. * Show mouse pointers absolut screen coordinates in VB IDEs title bar in pixel. * With an open source code pane moving the mouse to the left border of the screen opens the coresponding designer window (Shift-F7) and reverse. * The size of comboboxes of a code pane are increased to show much more values without a need for boring scrolling. ________ Background: To do all of this I had to dig very deep into VB IDEs COM interface and so here is hard stuff like 'Get a reference to the control under the mouse' and more ... _______ Enjoy the new feeling in programming VB! ____ Regards LiTe _________________________________________________ NEW VERSION 2.5.0 - 10/20/2004: Now your code is flying, too! I have added a powerfull TEXT AUTOCOMPLETE feature to speedup your coding. Please read ReadMe_First.Txt or code header for details. _____________________________________________ Thx for your comments and votes - they show me that you see the 160 hours which are in this tool now.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 17 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
10/4/2004 5:03:50 AMLight Templer

Please read the ReadMe.Txt before using Flying Windows VB. There is a small preparation neccessary in VBs option dialog to make windwos fly ;)
(If this comment was disrespectful, please report it.)

 
10/4/2004 6:09:01 AMTom Law

Clever idea - 5 globes
(If this comment was disrespectful, please report it.)

 
10/4/2004 8:51:46 AMAlaeddin Hallak

I love the addin especially the tooltip and the combobox expand. But the corner thing is buggy. Like i start a new IDE, load the addin, go to toolbox corner it shows, but when you go to properties window corner nothen happens and it seems like there has been internal error coz afterwards even toolbox corner doesn't work. Plz fix it as it's a very handy addin!!!!
(If this comment was disrespectful, please report it.)

 
10/4/2004 10:06:03 AM

an excellent submission. You work never fail's to impress me LT!


(If this comment was disrespectful, please report it.)

 
10/4/2004 11:15:19 AMTom Pydeski

Nice work, but all the flying windows make me dizzy. I'll give you a 5 for the concept and execution, but personally I prefer to dock everything.
(If this comment was disrespectful, please report it.)

 
10/4/2004 11:16:19 AMLight Templer

To Alaeddin Hallak:
I'm nearly sure that you didn't switch off the 'anchor window switch' for the property window. That's why I have written: "Plz read ReadmeFirst" ;) - it cannot work without this preparation.

To all: Thx for nice comments.
btw: Some more votes would be nice :)

LiTe

(If this comment was disrespectful, please report it.)

 
10/4/2004 11:32:51 AMCurtW

Someone call for more votes? ;-) 5 round ones for you. LT, good stuff as usual my man - keep it up!
(If this comment was disrespectful, please report it.)

 
10/4/2004 11:26:31 PMAnJ Computers

I had the same errors as Alaeddin Hallak when the options for what you call 'stick mode' are not changed. I wonder if we all could find a way and trap that particual issue and display a warning to users who fail to read.
(If this comment was disrespectful, please report it.)

 
10/4/2004 11:29:21 PMAnJ Computers

I like the concept, but for me it is agravating for the other windows to suddenly disapear when i wanted to use them, and occasionally having the Toolbox in maximum view instead of a floating box. I still give this a 5, but it is an addin that i will not be using.
(If this comment was disrespectful, please report it.)

 
10/5/2004 4:40:52 AMLight Templer

To AnJ:
You can increase the size of the toolbox to maximum, np. Yes, it maybe needs a short time to be familar with this kind of working, but in fact:
When you select a control from the toolbox, you don't need to see your form.
And when you draw a control onto your form you don't have a need to see the toolbox ;)
Leave it with Ctrl-key pressed and the toolbox stays open.

Anyway: if you don't like this feature, but the others: Simply switch it off in the option dialog.

Regards - LiTe
(If this comment was disrespectful, please report it.)

 
10/5/2004 4:44:40 AMLight Templer

To the problem that some users start without the preparation (described in ReadMe): It should be possible to get this persistent IDE properties. Because of its a one-time-short-task I didn't implemented it right now. It was difficult enough to figure out all of this (more then 120 hours are in this addin ...)

Let's see what I can do to improve the start ;)
LiTe
(If this comment was disrespectful, please report it.)

 
10/5/2004 5:31:15 AMAlaeddin Hallak

oh i just forgot to turn off docking in the options menu (readme was clear about those really).. anyway it works now yepee...

few suggestions:
1- for properties window (and similarly for toolbox) i'd like to move the mouse to right edge of screen instead of top right corner.
2- Don't move the mouse pointer!! it just freaks me out my mouse should move HOW i move it :)
3- Is it too much to ask to make windows slide like vs.net instead of suddently appearing?

again great work.. i cast ya 5 globes.. we really could turn this addin into something bigger and more useful..
(If this comment was disrespectful, please report it.)

 
10/5/2004 5:35:59 AMAlaeddin Hallak

Hey there's a little bug that's really important to get out of the way.. if you maximize the working screen (be it the form designer or the code) then when you howver to properties window it shows up maximized filling up the entire screen!! did u notice that?
(If this comment was disrespectful, please report it.)

 
10/5/2004 6:29:39 AMCubeSolver

Interesting and fresh idea. Thanks for the hard work.
(If this comment was disrespectful, please report it.)

 
10/5/2004 7:28:11 AMTom Pydeski

btw...in answer to Alaeddin Hallak's first post, you can make the error msgbox vbexclamation + vbMsgBoxSetForeground so that the msgbox pops up on top of the ide, not behind it.
(If this comment was disrespectful, please report it.)

 
10/5/2004 7:49:47 AMLight Templer

Hi all,
thx for suggestions, comments and votes.
I'm working on an update and try to improve most of your topics. Most means: I wrote Flying Windows to be faster on my daily work, not to have a fancy feeling when property windows comes in. So I won't include a 'Fly-In' or any other effect. Plz implement this on our own if you really need it. For tasks like this we are on PSC and have the source ;)

The mouse movement away from the corners is neccessary to avoid flickering of the window (call it, remove it, call it, ...), but I will decrease the gap to the corners.

The others: I have to check it out (e.g. I never work with maximized code window ... )

cu soon - LiTe
(If this comment was disrespectful, please report it.)

 
10/5/2004 8:34:45 AMNorm Cook

Win2k SP4, VB6 SP5
Unspecified system error:
Flying Windows: Error in 'm_frmTimer_TimerHotCornersElapsed()'

(If this comment was disrespectful, please report it.)

 
10/5/2004 8:42:12 AMNorm Cook

Deactivated HotCorners but now do not get the toolbox.
(If this comment was disrespectful, please report it.)

 
10/5/2004 9:46:07 AMjames kahl

Light excellent work as always, might take a little getting used to though. Will have to try it for a few days to see whether I really like it or not. But you get 5 from me for being Innovative and thorough.
(If this comment was disrespectful, please report it.)

 
10/5/2004 9:55:57 AMLight Templer

To Norm:
Are you sure that you have switched off docking for this four windows (ReadMe_First.txt) ?

The error msg covers the whole (large) function. Without a hint what you did exactly I cannot fix anything, sry.
Maybe when you switch to 'Show unhandled Errors only' in VB Option dialog you will get more. Let me know.

LiTe
(If this comment was disrespectful, please report it.)

 
10/5/2004 3:57:17 PMJoerg Hohaus

Excellent, five from me. Just can't figure out how to get the tool/property window on mouse-move...
(If this comment was disrespectful, please report it.)

 
10/5/2004 5:27:20 PMLight Templer

To Joerg:
1 - In VB IDE option dialog you switch off the docking for the four windows.

2 - Close all property/toolwindows.

3 - Now activate FlyingWindows

4 - Move the mouse in one of the four corners of the screen: e.g. in left/top corner the toolbox window appears.

Hope that helps. Else plz send me an email.

Regards and thx for votes to all - I'm working on the update right now.
LiTe


(If this comment was disrespectful, please report it.)

 
10/5/2004 5:50:00 PMPeter.

Same problem with maximized code pane, toolbox etc also maximized. Remove the timers and would be great not good!
(If this comment was disrespectful, please report it.)

 
10/5/2004 5:55:53 PMFred.cpp

I like It a Lot! great, great work. I use to cry for more space for the code (Also I got a bigger monitor) but this takes the space to a new level!.
5 balls from this Mexican guy ;)
(If this comment was disrespectful, please report it.)

 
10/5/2004 5:57:21 PMPeter.

I'll give u a 5 for a great start!
(If this comment was disrespectful, please report it.)

 
10/5/2004 6:18:51 PMHeriberto Mantilla Santamaría

Very good work and it's a good visual help, but I found an unpleasant problem with the Combo of properties, this expands too much without having any control in the form.
(If this comment was disrespectful, please report it.)

 
10/5/2004 6:22:46 PMHeriberto Mantilla Santamaría

I forgot 5 globes for you.
(If this comment was disrespectful, please report it.)

 
10/5/2004 6:25:38 PMLight Templer

1 - I'm working on the maximize problem.

2 - Does anybody knows how to read IDE properties like 'Toolbox docked' or somethings like this? All solutions I found so far (e.g. on VB2TheMax) are reading the registry, but this values will be changed on leaving VB - thats too late ;(

3 - Peter: Why do you don't like the timers? Its not a usercontrol. VB's intrinsic timers are simple and stable. Of course: Thy could be moved to the option window to save one form, but that doesn't matter in a compiled DLL. Plz tell me what you mean.

LiTe
(If this comment was disrespectful, please report it.)

 
10/5/2004 6:28:25 PMHeriberto Mantilla Santamaría

"Increase code windows comboboxes" like I disable that option, if it's that you can disable.
(If this comment was disrespectful, please report it.)

 
10/5/2004 6:58:16 PMLight Templer

To Heriberto:
You are right. I take the combo boxes to y fix size and if there are too less values the lower part is empty.
Right now I don't have any documentation about the class 'ComboLBox' which is used there. Maybe its possible to count the items with the usual API call SendMsg(...) and calculate the right size to beautify this unpleasant presentation. I'm working on this, too and I'm implementing a customizeable max size.
Thx for comment and vote.
LiTe
(If this comment was disrespectful, please report it.)

 
10/6/2004 5:03:52 PMChris Seelbach.

Thankyou, for sharing your creativity. ;)
(If this comment was disrespectful, please report it.)

 
10/7/2004 8:57:16 AMLight Templer

Hello all
Please help me with comments to version 2.4.0 of Flying Windows to fine tune it.
Thank you and regards - Lite
(If this comment was disrespectful, please report it.)

 
10/7/2004 8:58:18 AMAlT

When moving the mouse to coordinates 0/0, I get "Flying Windows: Error in 'm_frmTimer_TimerHotcornersElapsed()' System Error &H00004005 (-2147467259). Unspecified error. Running Windows 2000 SP4, VB6, SP3. I never could get the immediate window to come up. It's not a bad idea but needs some work. I might use it once you fix the maximize problem as I don't want the toolbox or property windows covering my code/designer panes. I think, ultimately, that this is 5 worthy so I will vote then...
(If this comment was disrespectful, please report it.)

 
10/7/2004 10:23:16 AMLight Templer

To Ait:

Thx for your detailed comment:
First to the last - maybe thats not clear in my description. There are thee steps:
1 - You move e.g. to the left top corner - the toolbox appears.
2 - You select something, e.g. a button control.
3 - Your mousepointer leaves the toolbox window: The toolbox window dissappears! The whole screen is free - nothing is covered by unneeded windows.

(...)

(If this comment was disrespectful, please report it.)

 
10/7/2004 10:23:48 AMLight Templer

(...)

To your problem/error:
The error code number is the one I trap with error handler in Update 1 to show the note what to do.

When you HAVE used V. 2.4.0 for your test maybe this happens:

* You start the addin in IDE and didn't compile to a DLL.
* In your VB IDE settings the error trapping is on strongest mode: 'Break on all errors'.
* You started another VB project, one of the hot corner windows isn't set to not-docking and the error is raised without a catch by the error handler.

Solution: Plz compile to DLL or switch VBs error setting to 'Break on unhandled errors'

Hope that helps - plz let me know!

LiTe
(If this comment was disrespectful, please report it.)

 
10/7/2004 11:27:24 AMLight Templer

NOTE TO UPDATE 1:
With version 2.4.0 the problem with maximized tool windows is fixed. Now you got a correct message to solve the problem. The wish to work with a maximized code window tooks me to two new fine features - plz read the Update section in the ReadMe_First.Txt for this.
Thx for any suggestions/comments/votes.
LiTe
(If this comment was disrespectful, please report it.)

 
10/7/2004 4:55:05 PMHeriberto Mantilla Santamaría

Hi Light Templer:

I found a new error, this it can describe himself in the following form.

When trying to change the size with "New Max Size" with a smaller value at 100 any other control of the form doesn't work, and I don't understand why.

I reiterate very good work.
(If this comment was disrespectful, please report it.)

 
10/7/2004 6:07:36 PMLight Templer

To Heriberto:
Maybe I don't understand your description of the problem. Because fo the validation procedure you cannot enter a value smaler then 100 (as told by the tooltip text - values from 100 to 999). But of course I will try to find out what you mean and improve it.
Regards - LiTe

(If this comment was disrespectful, please report it.)

 
10/7/2004 8:40:23 PM-Peter-

LT, still have maximized problem, also when hotwindows on, the properties window and the project explorer window are reversed, ie: properties window shows above project explorer window
(If this comment was disrespectful, please report it.)

 
10/7/2004 11:44:07 PM

Very impressive. Will you be adding support for multiple screens?
Look forward to your next version, 5 G's from me. :-)
(If this comment was disrespectful, please report it.)

 
10/8/2004 4:17:48 AMLight Templer

To 'multiple screen' question:

I wrote an email to you. Right now I have now experience with such systems, but FlyingWindows should work with them.

To Peter:
Flying Windows doesn't support working in maximized mode. I explained it in detail in ReadMe_First.Txt.
But you can increase current code window to full client area size by simply moving the mouse to right screen edge.
The internal window model is totally different in maximized and VB's IDE COM interface doesn't support even the most simple things (like giving the window handle ... ;( ).

(...)
(If this comment was disrespectful, please report it.)

 
10/8/2004 4:24:15 AMLight Templer

(...)
So plz don't work with maximized code panes, increase them anyway to full area as told above and all should be working well. You go to e.g. right/bottom corner of screen, the project window appears, you make your selection, leave the project explorer window area with the mouse and the project explorer closes.
Ready to use the full size of the IDE.

Plz feel free to send me an email with your questions and I will do my best.

LiTe

(If this comment was disrespectful, please report it.)

 
10/8/2004 10:22:55 AMAnJ Computers

Not bad, getting better all the time!
(If this comment was disrespectful, please report it.)

 
10/8/2004 12:03:01 PMFred.cpp

yes! Getting even better. I like This version, I'll keep It ;) (If updates keep coming also would be nice:) )
Sorry, I can't give you more globes, But I would like to
(If this comment was disrespectful, please report it.)

 
10/8/2004 6:48:50 PMLight Templer

Thx to all for kind comments (and votes :) )

Right now I'm working on version 2.4.1.
This fixes the switch without function in FWs option dialog (increasing combos) and adds a switch for the left/right screen border function.
If anybody has a good idea to add or found an unlucky piece of code in Flying Windows: Plz just send me an email.
Regards from rainy south of Germany
LiTe
(If this comment was disrespectful, please report it.)

 
10/11/2004 8:10:38 PMHeriberto Mantilla Santamaría

Hi Light Templer:

I referred to the controls of the form frmFFoptions.
(If this comment was disrespectful, please report it.)

 
10/12/2004 3:34:31 AMLight Templer

To Heriberto:
maybe my English isn't good enough to understand exactly what you mean. Sorry, I'm not a native speaker ;)
The textbox for the size value is protected by the validation event. Thats a native VB6 textbox function. The unused checkbox is fixed in 2.4.1 (will be released this week). Is it that what you mean or have I missed something else?
LiTe
(If this comment was disrespectful, please report it.)

 
10/12/2004 11:40:33 PMHeriberto Mantilla Santamaría

Hi Light Templer:

I referred to the controls of the form "frmFFoptions."

Greetings from Colombia.
(If this comment was disrespectful, please report it.)

 
10/13/2004 12:29:34 AMHeriberto Mantilla Santamaría

Excuses the previous message but I had not seen your answer, and if I referred to that same.

Sorry I can't vote again.

Postscript: Neither I'm not very good with native English.
(If this comment was disrespectful, please report it.)

 
10/15/2004 1:03:19 PMLight Templer

=========================================
Hi folks, with V. 2.4.1 all true problems should be solved.

Right now I don't see a possible way to enable working maximized code windows, but with the included 'Maximizer' this shouldn't be a problem anymore. If no further suggestions/problems are coming up I will go to the next project in pipe.

Thx for all the votes - its a good feeling to be on number 2 of the monthly list ;)

Regards - Light Templer

=======================================
(If this comment was disrespectful, please report it.)

 
10/15/2004 2:57:25 PM

This is an outstanding addin, their are some really excellent VB addin's on this website now, making coding life alot easier.

Curiously LT, what's your next project in the pipeline?
(If this comment was disrespectful, please report it.)

 
10/15/2004 3:23:48 PMLight Templer

Thx for kind words;)

My next project is to get some older stuff ready2use. I don't like to submit code "70-80% ready". 95% is better ;)
LiTe
(If this comment was disrespectful, please report it.)

 
10/18/2004 5:49:41 PMLight Templer

Changed my mind ;) : Got a good idea for a new very powerful function to add to 'Flying Windows' last weekend. Now its ready and in test stage.
Come back soon to get FW V. 2.5.0

Regards LiTe


(If this comment was disrespectful, please report it.)

 
10/20/2004 11:12:17 AMLight Templer

Now its done and I hope you like it.
With V. 2.5.0 you just write e.g. sc , press F-12 and you got 'Select Case' !
A long key list with is inclucded and some more gimmicks added. Plz look at the ReadMe file for details.

Thx for any further votes ;)

LiTe
(If this comment was disrespectful, please report it.)

 
10/21/2004 1:43:25 AMKSM2003

Very excellent :-) i cast
ya 5 globes
(If this comment was disrespectful, please report it.)

 
10/23/2004 1:43:02 AMHeriberto Mantilla Santamaría

The New Version is great, congratulations Light T.
(If this comment was disrespectful, please report it.)

 
10/25/2004 1:43:38 PMFrédéric Côté

Continue to add features, this is nice, but don't forget to keep allowing us to disable them, in a complete app, there will always be someone to dislike a feature :)
(If this comment was disrespectful, please report it.)

 
10/31/2004 4:53:55 PMMario

Great idea, I was thinking abut that long time ago, but have no time to realize it.
Some comments:
* Every time when switching between code/form you loose cursor position, e.q. cursor returned to the top.
* It is possible to work with docked panes too, and that’s more acceptable, see
www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=44786
* IMHO the right place of mouse for hiding/showing panes is not the corners of screen but his original locations.
* You forgot the Form Layout Window and Toolbars.
* For switching code/form you can use left side + Shift (Ctrl)
* Add-in with a hundred possibilities MUST haw an integrated Help!

(If this comment was disrespectful, please report it.)

 
11/5/2004 5:55:31 AMLight Templer

Mario, I'm wrking on some of your sugestions, but I dont't understand all of them.
(If this comment was disrespectful, please report it.)

 
12/19/2004 1:25:54 AM

shouldn't there be a way to delete the old posts?... Please **e-mail** me a responce on this subject. I don't see any reason in coming back to this post.
(If this comment was disrespectful, please report it.)

 
4/4/2005 3:35:14 AMbammylove

My name is Victoria and I work for a software company,This is a nice Job you have done,I have voted for you and i am giving you 5 globes for this great work.\i will want you to keep it up.I will like you to send me the compiled version of your software.I will love to have youre work on my PC. My email address is bammington@yahoo.com Once again,keep it up and continue
(If this comment was disrespectful, please report it.)

 
4/5/2005 3:06:11 AMLight Templer

Victoria, sorry but your post sounds like social engeneering to me ;-) If you have ANY use for an VB addin you HAVE VB. and if you have VB just open the project, press 'Compile' and you have the program ;-) ...

(If this comment was disrespectful, please report it.)

 
9/7/2005 8:50:35 AMpietro ing. cecchi

I just downloaded your add-in and I'm sure I'll be satisfied of it...

Anyhow, Light Templer, may be you are light, but the title isn't at all!

Try to short it, please, for instance like this: "VB6 Addin FlyingWindows, by Templer - Updated oct. 20 '04 (auto-complete)"

5 from me and all the best everybody


(If this comment was disrespectful, please report it.)

 
9/7/2005 10:48:33 AMtibisan

there's something fishy about that user,bammylove a.k.a. victoria i mean. "she" keeps saying that thing for the past week or so in a lot of the posts here. sounds like an automatic comment to me. sorry if i seem disrespectfull, that's just my opinion.
(If this comment was disrespectful, please report it.)

 
9/7/2005 10:53:20 AMOption Explicit

"Bammylove" a.k.a. Victoria is one of that mentally sick idi0t Evan Toder's fake accounts. Usually Evan uses this account to post messages for teenage boys.
(If this comment was disrespectful, please report it.)

 
9/7/2005 10:56:04 AMtibisan

yeah, like they dig for it :))
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.