Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Progress bar

jaeger0
Beginner
505 Views

I have just a styling question of my progress bar, embedded in a quickwin application
I'm programming on Vista, vith Intel compiler 10 using MSVS.
So in my Application is a Progress bar, which doe its work, but is displayed in this ugly blue bare, as
it was in older Windows systems. But I'd like to have this cool green displayed bar, typically for VISTA.
When I try the previewer in the resource Editor, it looks exaxtly the VISTA bar, but on running, I have this old blue bar.

How can I tell the system, that it should use the VISTA style

0 Kudos
2 Replies
Paul_Curtis
Valued Contributor I
505 Views

Send the progress-bar control a PBM_SETBARCOLOR message to set any color you want. Check MSDN for syntax details: http://msdn.microsoft.com/en-us/library/bb760838(VS.85).aspx

0 Kudos
kooka
Beginner
505 Views
Quoting - jaeger0

I have just a styling question of my progress bar, embedded in a quickwin application
I'm programming on Vista, vith Intel compiler 10 using MSVS.
So in my Application is a Progress bar, which doe its work, but is displayed in this ugly blue bare, as
it was in older Windows systems. But I'd like to have this cool green displayed bar, typically for VISTA.
When I try the previewer in the resource Editor, it looks exaxtly the VISTA bar, but on running, I have this old blue bar.

How can I tell the system, that it should use the VISTA style


you must be sure to use the latest version of ComCtl32 library, so you need some compiler directives. I dont know much about so better check visual styles in msdn library.

0 Kudos
Reply