Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How do I style a 'CProgressCtrl' so that it shows a few marks running left to right, to give the user visual feedback that we are still alive, without putting an actual 'ProgressValue' to it. Win XP shows something like that when starting up.

I Think I can Manage it if I Know the values of 'PBM_SETMARQUEE' and 'PBS_MARQUEE'
Regards,

Bram. :)
Posted
Updated 31-Aug-11 16:49pm
v2

1 solution

You can use the CProgressCtrl::SetMarquee[^] function to activate this style of progress indicator.
This function is only available in Visual Studio 2008 and higher though. For older version you will need to implement it yourself, perhaps by using a timer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900