X
Xlay
I have a form which performs a task similar to a file copy in XP. I am
asked to display a progress in a pop-up box which would allow for the
task to be cancelled by the user. I've added the a form with a label
(for file info), progress bar and a cancel button.
I've made public functions to updated the status bar and the file name
label in the form, but using the [DialogBox].Show() method and calling
those update functions is very slow to respond. (Even using double
buffered dialog and refreshing the box upon update.)
Is there a good tutorial or some alternative suggestions which would
allow me to sample a two-way communication (send updates to the dialog
box for file names/progress and be able to cancel the main form's
process from the dialog?)
Thanks in advance.
asked to display a progress in a pop-up box which would allow for the
task to be cancelled by the user. I've added the a form with a label
(for file info), progress bar and a cancel button.
I've made public functions to updated the status bar and the file name
label in the form, but using the [DialogBox].Show() method and calling
those update functions is very slow to respond. (Even using double
buffered dialog and refreshing the box upon update.)
Is there a good tutorial or some alternative suggestions which would
allow me to sample a two-way communication (send updates to the dialog
box for file names/progress and be able to cancel the main form's
process from the dialog?)
Thanks in advance.