Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - TaskDialog as wait window
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TaskDialog as wait window

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

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Topic: TaskDialog as wait window
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Vitaly View Drop Down
Groupie
Groupie


Joined: 05 November 2004
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vitaly Quote  Post ReplyReply Direct Link To This Post 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....

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Vitaly View Drop Down
Groupie
Groupie


Joined: 05 November 2004
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vitaly Quote  Post ReplyReply Direct Link To This Post 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...

Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
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.170 seconds.