Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ Info bar..
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Shadowfyr
USA (1,791 posts) Bio
|
Date
| Mon 11 Nov 2002 11:27 PM (UTC) |
Message
| Having at last fallen pray to the 'everything goes gray' bug when I accidentally dragged it when switching windows I decided to experiment. Here is what I have found>
1. The bar fixes itself to a set width. If you go full screen mode on a display with a high resolution (mines 1280 x 1024) you find your missing world jammed into the right side of mushclient's main window.
2. You can still drag it, but only if you position the pointer in just the right place (below the top faint line).
3. It is practically impossible to get it back where it belongs.
Not sure if any of that helps, but you definitely need to modify the code to drop it in the 'closet' valid location and not just where ever it happens to be. lol Nice this is that fixing this and the window thing will I think just about squashed every 'current' known bug. ;) Though this one is imho very serious, since short of some odd fiddling or turning it off completely, there seems to be no way to correct it when it happens. | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 12 Nov 2002 01:08 AM (UTC) Amended on Tue 12 Nov 2002 01:09 AM (UTC) by Nick Gammon
|
Message
| Yes, it's wacky isn't it? I didn't write that code, I inherited it from the MFC behaviour.
This is a fairly easy way of fixing the "grey screen" problem ...
- Move the mouse to the left of the renegade info bar (ie. between the horizontal rules), until you see the "<-->" symbol that appears when you are about the drag the left of the main MUSHclient window.
- Move it slightly to the right, until the "<-->" goes away.
- Double-click. You should now see a "floating" info bar.
- Double-click the blue title bar on the floating info bar. It should now re-dock in the right place.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Shadowfyr
USA (1,791 posts) Bio
|
Date
| Reply #2 on Tue 12 Nov 2002 05:59 PM (UTC) |
Message
| That figures... lol Maybe some code to check if height - top in the control suddenly goes balistic after it is moved and restore it to the default position if that happens? It could make it hard to position it at the top of the window, since a 'closer to top' test would be better, but... | Top |
|
Posted by
| Shadowfyr
USA (1,791 posts) Bio
|
Date
| Reply #3 on Tue 12 Nov 2002 07:35 PM (UTC) |
Message
| Hmm. I have nosed around online and haven't found any mention of this sort of glitch (I assume you are using some sort of toolbar control here). Then most people may be using there own custom version of CalcDynamicLayout. Others have solved this by it seems by assuming that the bar is undocked 'unless' it touches a side. It looks like it is somehow trying to dock with both the top and bottom... This is definitely strange. Hope you can figure it out. :p
Oh.. BTW you just misquoted Magnum as the source of my posts again in the World.Colournote not entirely fixed thread. lol Are we really that hard to tell apart? ;) | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #4 on Wed 13 Nov 2002 02:46 AM (UTC) |
Message
|
Quote:
Oh.. BTW you just misquoted Magnum as the source of my posts again in the World.Colournote not entirely fixed thread. lol Are we really that hard to tell apart? ;)
Sorry, I knew it was one or the other, and I was too lazy to check which one. :) |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #5 on Wed 13 Nov 2002 02:48 AM (UTC) |
Message
| I am using a CDialogBar. Maybe I should just take out the ability to remove it from the bottom side. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Vaejor
(120 posts) Bio
|
Date
| Reply #6 on Wed 13 Nov 2002 01:29 PM (UTC) |
Message
| Hmm, I much rather the info bar on the top, under the activity bar. After you move the bar once, you shouldn't really need to move it again. If it does get in the way, then the bottom of the screen is an option to keep it out of the way of other buttons. I just hope it's really not necessary for it to be a requirement to have it in one position. | Top |
|
Posted by
| Magnum
Canada (580 posts) Bio
|
Date
| Reply #7 on Wed 13 Nov 2002 02:36 PM (UTC) |
Message
| All are under my control!
Moo-Ha-Ha-Ha-Ha-Ha-Ha !!!
:) |
Get my plugins here: http://www.magnumsworld.com/muds/
Constantly proving I don't know what I am doing...
Magnum. | Top |
|
Posted by
| Shadowfyr
USA (1,791 posts) Bio
|
Date
| Reply #8 on Wed 13 Nov 2002 09:31 PM (UTC) |
Message
| Hmm... How about making right click on it give you menu options for Top, Bottom or Float. Then you can 'force' it into the correct place rather than relying on the automatic handling of it. This would mean you could no longer drag and drop it in the right place to dock it, but it should correct the glitch, at least until you can track down what is really causing the problem. Or since it is linked to CWnd and inherits much of the function from there.. perhaps restoring it to the original height before doing whatever it is you pass the calced size to. Hmm. I don't know I am grasping at straws here. ;) lol | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #9 on Wed 13 Nov 2002 10:56 PM (UTC) |
Message
| I haven't written a line of code to implement the docking, except maybe calling "EnableDocking" which must set some flag in the runtime libraries. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
27,355 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top