0

I've used WindowsApiCodePack C# wrapper of windows TaskDialogs. When I tried to show long text with paths, I got all my paths shortened by ellipsis instead of true word-wrap. This makes filenames in paths non-readable. Like here:

TaskDialog screenshow Same behavior when settings this text in spolier text or in main text.

Is the way to disable this feature? I want my paths to be shown completely, wrapped or somehow else.

This is what I expect from text. How MessageBox work with text: MessageBox

rattler
  • 379
  • 2
  • 5
  • 15
  • AFAIK you can't disable that, but it's a *feature* mind you. Just use CTRL+C on the dialog and you should get the full text in the clipboard. – Lucas Trzesniewski Nov 02 '16 at 19:35
  • thanks, it works. Never knew that this thing supports clipboard.. but i think the dialog should show info by itself and don't force to use another window (notepad) to read its content – rattler Nov 02 '16 at 19:41
  • The TaskDialog is arguably *not* meant for such kind of usage. If you have a big block of text you probably should build a dedicated window with a scrollbar. The goal here is to ensure the dialog won't get larger than the screen, which is a confusing user experience. – Lucas Trzesniewski Nov 02 '16 at 19:42
  • old style MessageBoxes were good enough for this:) And no. TaskDialog have a *width* setting, that allows to set width of window in some units (not pixels, symbols may be). And it will never be larger than screen. More than this, why such strange shortening? Why not just word wrap, like 100% of other dialogs do? – rattler Nov 02 '16 at 19:48
  • 1
    I guess your path simply does not contain any space, so you can't really *word wrap*, look: it wrapped after the word `line` – Lucas Trzesniewski Nov 02 '16 at 20:02
  • Yep, seems so Any wordwrap mechanism breaks by character in this conditions. This thing shortens the path before space (and hides filename) and then wraps – rattler Nov 02 '16 at 20:06

0 Answers0