View Full Version : Multiple lines in a status dialog window?
Buffman
01-14-2008, 03:55 PM
I have a status dialog window, and newlines are getting truncated.
StatusDlg.SetMessage("test1\ntest2");
or
StatusDlg.SetStatusText("test1\ntest2");
Am I restricted to a 2 lines? (1 for each).
Thanks
TimeSurfer
01-14-2008, 05:15 PM
Yes using the statusdlg you are restricted to 1 line for each. However you can use dialog.message instead which can have multiple lines.
What exactly are you trying to do. I might have a better solution.
Buffman
01-14-2008, 05:21 PM
I'm using a custom callback function for File.Copy, which creates a log file and outputs file copy status and other data including:
file copied
files remaining
bytes/total for each file
bytes/total for all files
percentage status
For cosmetic reasons, I was hoping to data on more than 2 lines
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.