Print Page | Close Window

Hide button in CXTPTaskDialog?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=10793
Printed Date: 11 December 2024 at 4:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hide button in CXTPTaskDialog?
Posted By: znakeeye
Subject: Hide button in CXTPTaskDialog?
Date Posted: 27 May 2008 at 5:54am
Is it possible to hide a button (or change its text) in a CXTPTaskDialog? I want to show a "Cancel"-button and then, in OnTimer, change it to "Finish".



Replies:
Posted By: Oleg
Date Posted: 27 May 2008 at 7:06am
Hello,
 
 
You can use our version always (bUseComCtl32 = FALSE) and in OnTimer:
GetDlgItem(IDCANCEL)->SetWindowText(...);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 27 May 2008 at 8:44am
Thanks!



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