Please redirect your complaint to Microsoft.
There are very many undesirable misclicks possible. Paste and Delete are quite close to each other in the Edit menu, just to name one. OK, this is undoable, but restarting PHPEd also restores its desktop quite well.
Step-Over and Step-Into in the debug menu are also quite close to each other. Now that's a real PITA! Let's put them in seperate menus!!
If you close the application too often you can always turn 'auto save files' off, and on exit, the environment will ask you to save the files. Say 'cancel' and the exit itself is cancelled.
With broken fingers in your right hand, using the mouse must be the last thing you would like to do. Actually, if you are a real programmer, you'd probably always have both hands on your keyboard, so pressing Ctrl-F4 would still be simpler than reaching for your mouse. Ofcourse, you could occasionally mistake the Ctrl for the Alt key, and off you go again...
I think you make a big fuzz of something that is actually a non-issue.
Every MDI application has the close, minimize and resize buttons at the same place, it's only MS that has changed this in a few (!) of their applications, breaking away from their own standard, and curse them for that! Maybe they agree with you that, with hindsight, it was an inconvenient place where they decided to put it a couple of years ago. But then they should provide a
general solution for all of us to use, and not start hacking away at one single (family of) application(s).
There are many reasons why changing the button from its default position (ie where it is put by the provided standard MDI DLL) is a bad thing. You need only think of the repercussions for 1 minute to know why. Have you forgotten the change from Windows 2.0 to 3.0, and the mess we got with these 'nice' custom dialogs that MS made for WfW 2.0 and Excel 4? Or were you not around at that time? And how about Encarta, yet another MS application that broke the GUI standard and had to deal with the consequences later. If you want a MOTIF look and feel, cause it's so much better than Windows, then you should go for unix.
Obviously the guys at MS still have not learned their lesson well. And if you do not learn from your mistakes you are destined to repeat them.
I'd advise nusphere not to tinker with the MDI interface and keep the close button where it is until MS provides a decent skin management system within their OS! Then every individual user can customize the application interface and you can give the button any size you want and put it any place you like.
But don't hold your breath for MS to get it right!
In the mean time you might try right-clicking in the text-window and select 'close' at the bottom of the context menu!
Oh, and BTW: I always hit Crtl-F4 using my left hand...
![Wink](images/smiles/icon_wink.gif)