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

6
  • 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. Commented Nov 2, 2016 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 Commented Nov 2, 2016 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. Commented Nov 2, 2016 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? Commented Nov 2, 2016 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 Commented Nov 2, 2016 at 20:02

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.