![]()  | 
 
TaskDialog as wait window | 
 
    Post Reply  
   | 
  
| Author | |
   
   zaksoft  
   
   Senior Member  
    
   Joined: 05 June 2003 Location: Italy Status: Offline Points: 163  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: TaskDialog as wait windowPosted: 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 
    | 
 |
| 
   
     
     VS2022 - MFC MBCS Statically linked 
   
  XTP 23.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   zaksoft  
   
   Senior Member  
    
   Joined: 05 June 2003 Location: Italy Status: Offline Points: 163  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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 ? 
    | 
 |
| 
   
     
     VS2022 - MFC MBCS Statically linked 
   
  XTP 23.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com  | 
 |
![]()  | 
 |
   
   Vitaly  
   
   Groupie  
   Joined: 05 November 2004 Status: Offline Points: 70  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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....  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   Vitaly  
   
   Groupie  
   Joined: 05 November 2004 Status: Offline Points: 70  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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...  | 
 |
![]()  | 
 |
   
   terrym  
   
   Senior Member  
   Joined: 13 April 2007 Status: Offline Points: 836  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |