Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Change button text in Task Dialog?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change button text in Task Dialog?

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Change button text in Task Dialog?
    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!
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2008 at 2:18pm
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.