Ellipsis In Title Bar Of Window?
-
Richard MacCutchan wrote:
You may like to keep the project code and try reporting it to Microsoft.
I probably will. It's odd enough to generate a bit of curiosity but not doing any harm.
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
I just replicated it with a simple test, and it's not a bug, but a feature. If the text of the title will not fit the title bar, then trailing characters are replaced by an ellipsis. Go to the form designer and check the text of your form's title. I will bet it has a lot of spaces after the actual text. Alternatively, a lot of spaces and then some extra characters.
-
Alan Burkhart wrote:
Not using any 3rd party products in the project.
I wasn't referring to anything in the project, but a utility outside of it, that's part of another application. If you want to draw a button on the title bar of a form of another application, you often try to determine the correct window with some parameters. Those may just be equal to the one you were designing.
Alan Burkhart wrote:
Resizing the window does eventually affect it. Once the width hits about 1000 the ellipsis disappears. Comes back when the width is decreased.
So the target is a window that never becomes larger than 1000 pixels.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
-
Alan Burkhart wrote:
Not using any 3rd party products in the project.
I wasn't referring to anything in the project, but a utility outside of it, that's part of another application. If you want to draw a button on the title bar of a form of another application, you often try to determine the correct window with some parameters. Those may just be equal to the one you were designing.
Alan Burkhart wrote:
Resizing the window does eventually affect it. Once the width hits about 1000 the ellipsis disappears. Comes back when the width is decreased.
So the target is a window that never becomes larger than 1000 pixels.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
Eddy Vluggen wrote:
So the target is a window that never becomes larger than 1000 pixels.
It can be any size. Just hadn't had occasion to size it any larger.
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
-
I just replicated it with a simple test, and it's not a bug, but a feature. If the text of the title will not fit the title bar, then trailing characters are replaced by an ellipsis. Go to the form designer and check the text of your form's title. I will bet it has a lot of spaces after the actual text. Alternatively, a lot of spaces and then some extra characters.
That's not it. The ellipsis would be at the end of the text. This is beside the minimize button and the text is just two words. I added a better screen capture[^] below the first one where the text is visible.
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
-
That's not it. The ellipsis would be at the end of the text. This is beside the minimize button and the text is just two words. I added a better screen capture[^] below the first one where the text is visible.
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
Yes, and I bet if you go to the form's Design window in Visual Studio, and check the properties of the title you will find lots of spaces following the text. That's why the ellipsis disappears when you increase the width of the Window, because all the characters can fit into the title bar.
-
Yes, and I bet if you go to the form's Design window in Visual Studio, and check the properties of the title you will find lots of spaces following the text. That's why the ellipsis disappears when you increase the width of the Window, because all the characters can fit into the title bar.
Richard MacCutchan wrote:
lots of spaces following the text
OK, where the heck did all the spaces come from? Never encountered that before. Thank you! :-D
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
-
In a VS 2017 project, I have an ellipsis (...) in the title bar next to the minimize button. Never saw that before. It doesn't react to the mouse, and vanishes if I maximize the window. Comes back when the window isn't maximized. Resizing the window doesn't affect it. It's there when debugging and in design mode. Why? Anyone? :confused: Screen Capture[^]
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
-
The "title" is wider than the "title space" in the title bar; hence the "...".
"(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal
Yep. We finally figured that out. Thing is it was filled with spaces past the text. No clue how that happened.
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
-
Yep. We finally figured that out. Thing is it was filled with spaces past the text. No clue how that happened.
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.
Spaces will do it; sometime "unprintable characters". (I tend to "trim" input since users tend to "lean" on the keys when sleeping). I've had the latter in source code; weird compile errors ... but you can't "see em'". Sometimes have to "delete the line" and "type it over".
"(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal
-
Spaces will do it; sometime "unprintable characters". (I tend to "trim" input since users tend to "lean" on the keys when sleeping). I've had the latter in source code; weird compile errors ... but you can't "see em'". Sometimes have to "delete the line" and "type it over".
"(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal
I use
.Trim
a lot but never thought about needing it for the title bar of a form. Still curious about how it happened but I doubt I'll ever know.Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.