Print Page | Close Window

TaskDialog as wait window

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=6987
Printed Date: 08 May 2024 at 11:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TaskDialog as wait window
Posted By: zaksoft
Subject: TaskDialog as wait window
Date Posted: 26 April 2007 at 6:15am
It is possible to use TaskDialog with marquee during lenghtly operation (like program starting and loading information) or printing jobs ?
 
It is possible to use TaskDialog as modeless ?
 
TIA


-------------
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com



Replies:
Posted By: Oleg
Date Posted: 26 April 2007 at 6:21am
1. Yes,  use void ShowProgressBar(BOOL bShow, BOOL bMarquee = FALSE) with bMarquee  = TRUE. and call StartProgressBarMarquee from OnDialogConstructed method. But Marquee style supported by OS from WinXP and higher :(
 
2. no.


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


Posted By: zaksoft
Date Posted: 26 April 2007 at 6:34am
Ok on how to activate wait dialog, but using Modal Dialog I have to move  all business logic into a CTaskDialog-derived class or use (that is impossible in my case) timer callbacks.
 
Any other way ?


-------------
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com


Posted By: Vitaly
Date Posted: 26 April 2007 at 8:31am

CXTPTaskDialog is CDialog - derived. There's no reason why it couldn't be used as modeless. I do not understand the immediate "No" from Oleg....



Posted By: Oleg
Date Posted: 27 April 2007 at 1:13am
Hi,
 
Actually if you don't plan to use Vista version in Vista OS - you can use it modeless - but disable using comctl32 version in Vista.
Than I wrote - I mean that Vista's TaskDialog doesn't support  modeless.


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


Posted By: Vitaly
Date Posted: 27 April 2007 at 5:11am

This shouldn't be a problem. CodeJock's implementation of TaskDialog as just as good (barring the compitability bug with <br/> \n formatting), and I even like it more than Vista's native for the way it expands details - damn slow on Vista, dunno why, but fast in the CodeJock's version...



Posted By: terrym
Date Posted: 13 September 2007 at 11:56am
Is there a reason the expand button in XP etc. shows as square button, does it not drawn it's own button with same look ???
 
Any help appreciated
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



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