Print Page | Close Window

Change button text in Task Dialog?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9288
Printed Date: 25 April 2024 at 7:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change button text in Task Dialog?
Posted By: znakeeye
Subject: Change button text in Task Dialog?
Date 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!



Replies:
Posted By: znakeeye
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net