Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-03-2005, 23:06
MarkusO
 
Posts: n/a
Progress Bars vs. Meters

Until now I always used the "msctls_progress32" class for progress bars. It's easy to use and works fine. The drawback is that it only supports two "styles". (either the "block" or the "smooth" fill-type)

I know there exists a different type of progress bar, which can be configured in more ways. (like showing text in the progress bar moving with the actual position)

I found out that this type uses the class type "meter" instead of "msctls_progress32". However, the PBM_* constants from my WINDOWS.INC did not work to control the "meter" bar (which was no big suprise).

By debugging some programs which use this type of progress bars I found out that the "meter" bar is controlled by some parameters which are in the same range as the PBM_* constants (WM_USER+???), but work different.

My first guess was that the "meter" class is nothing which COMCTL32.DLL supports by default, but I couldn't find any calls to "USER32.RegisterClass" in the programs I debugged. I also think it's a bit strange that all the programs I tried would call this bar "meter" if they all had to individually create this class.

Am I working in a completely wrong direction or where is my mistake?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Progress in negotiations for final AACS copy protection specification for HD discs elephant General Discussion 0 12-29-2005 06:48


All times are GMT +8. The time now is 01:39.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )