Change button text in Task Dialog? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 13 January 2008 at 2:14pm |
Two questions regarding the task dialog:
1) Is it possible to change the text of a custom button? For instance, I want to toggle between "Pause" and "Resume".
2) Is it possible to freeze the marquee? So far I have only been able to make the traditional progress bar freeze, but I don't want that.
I am using the task dialog for a heavy import imporation. I want the user to be able to pause/resume, and when doing so the marquee should freeze/run.
Thanks!
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
I just solved #1. SetDlgItemText works :)
Regarding #2, I can make it freeze using this call:
StartProgressBarMarquee(FALSE, 50);
but... I want to freeze it at its current position (the above call always freezes at the beginning). That way the user will be more aware of that the pause is in the middle of an operation, so to speak.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |