06-08-2008, 10:13 AM
i don't see any declarations for changing the color of a progress bar can any1 help?
how to change the color of a progress bar
|
06-08-2008, 10:13 AM
i don't see any declarations for changing the color of a progress bar can any1 help?
06-08-2008, 07:09 PM
There are two messages for setting color, but the documentation says that they don't work if visual styles are on, ie on XP and later.
06-08-2008, 08:14 PM
Is there a way to change the bar to a solid.yes i have seen if visual styles are off the color is blue.Is it possible to use maybe vb or java and change it?
was reading that maybe this can be used SetWindowTheme(hwnd, L" ", L" "); if i read it right u can turn off visual styles in a control or a window
06-08-2008, 08:29 PM
You can remove visual styles for a single window or control.
Function Dialog63 \Dialog_Editor
06-08-2008, 08:39 PM
tyvm Gintaras any ideas on how to make the bar solid?
i would think this but not sure of the declaration PBM_SMOOTH i would like the progress bar to be solid not segmented
06-08-2008, 09:03 PM
PBS_SMOOTH is 1
Change progress bar style in dialog definition from 0x54030000 to 0x54030001. But again, it works only if visual styles removed.
06-08-2008, 09:05 PM
Thank You very much sir problem solved
|
« Next Oldest | Next Newest »
|