I am using the wxScrollBar in an application and would like it to display using the "new" XP themes on windows. However, it uses the "old" standard gray scroll bars instead. Is there a flag to set to tell it to use the new style theme?
The little program below shows that the styled text control scrollbars are rendered with themes, but the stand alone scroll bar isn't. I've also attached a screen shot.
I am using the wxScrollBar in an application and would like it to display using the "new" XP themes on windows. However, it uses the "old" standard gray scroll bars instead. Is there a flag to set to tell it to use the new style theme?
The little program below shows that the styled text control scrollbars are rendered with themes, but the stand alone scroll bar isn't. I've also attached a screen shot.
I'm not sure what's going on, I get the themed scrollbar in both cases here.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I am using the wxScrollBar in an application and would like it to display using the "new" XP themes on windows. However, it uses the "old" standard gray scroll bars instead. Is there a flag to set to tell it to use the new style theme?
The little program below shows that the styled text control scrollbars are rendered with themes, but the stand alone scroll bar isn't. I've also attached a screen shot.
I'm not sure what's going on, I get the themed scrollbar in both cases here.
Hmmm. The concensus here is that it has something to do with our build of wx (http://code.enthought.com/enthon/). Does anyone know of flags etc in the setup.h or in the build process that could cause this sort of behavior?
I am using the wxScrollBar in an application and would like it to display using the "new" XP themes on windows. However, it uses the "old" standard gray scroll bars instead. Is there a flag to set to tell it to use the new style theme?
The little program below shows that the styled text control scrollbars are rendered with themes, but the stand alone scroll bar isn't. I've also attached a screen shot.
I'm not sure what's going on, I get the themed scrollbar in both cases here.
Hmmm. The concensus here is that it has something to do with our build of wx (http://code.enthought.com/enthon/). Does anyone know of flags etc in the setup.h or in the build process that could cause this sort of behavior?
After a little more thought I seem to recall that the scrollbar attached to windows is a different control than the standalone control, so my guess is that you don't have a manifest file for your python. It's the presence of this manifest (either as a resource in the .exe or as a file located next to the .exe named programname.exe.manifest) that triggers the use of the themed common controls DLL. If it's not present then XP falls back to the 5.x version of the DLL.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I am using the wxScrollBar in an application and would like it to display using the "new" XP themes on windows. However, it uses the "old" standard gray scroll bars instead. Is there a flag to set to tell it to use the new style theme?
The little program below shows that the styled text control scrollbars are rendered with themes, but the stand alone scroll bar isn't. I've also attached a screen shot.
I'm not sure what's going on, I get the themed scrollbar in both cases here.
Hmmm. The concensus here is that it has something to do with our build of wx (http://code.enthought.com/enthon/). Does anyone know of flags etc in the setup.h or in the build process that could cause this sort of behavior?
After a little more thought I seem to recall that the scrollbar attached to windows is a different control than the standalone control, so my guess is that you don't have a manifest file for your python. It's the presence of this manifest (either as a resource in the .exe or as a file located next to the .exe named programname.exe.manifest) that triggers the use of the themed common controls DLL. If it's not present then XP falls back to the 5.x version of the DLL.
Sayyy! That gives us a whole lot of direction on getting this resolved. We'll dig in and see if this is indeed the issue.
I am using the wxScrollBar in an application and would like it to display using the "new" XP themes on windows. However, it uses the "old" standard gray scroll bars instead. Is there a flag to set to tell it to use the new style theme?
The little program below shows that the styled text control scrollbars are rendered with themes, but the stand alone scroll bar isn't. I've also attached a screen shot.
I'm not sure what's going on, I get the themed scrollbar in both cases here.
Hmmm. The concensus here is that it has something to do with our build of wx (http://code.enthought.com/enthon/). Does anyone know of flags etc in the setup.h or in the build process that could cause this sort of behavior?
After a little more thought I seem to recall that the scrollbar attached to windows is a different control than the standalone control, so my guess is that you don't have a manifest file for your python. It's the presence of this manifest (either as a resource in the .exe or as a file located next to the .exe named programname.exe.manifest) that triggers the use of the themed common controls DLL. If it's not present then XP falls back to the 5.x version of the DLL.
Sayyy! That gives us a whole lot of direction on getting this resolved. We'll dig in and see if this is indeed the issue.
Thanks for your help Robin.
I am using the wxScrollBar in an application and would like it to display using the "new" XP themes on windows. However, it uses the "old" standard gray scroll bars instead. Is there a flag to set to tell it to use the new style theme?
The little program below shows that the styled text control scrollbars are rendered with themes, but the stand alone scroll bar isn't. I've also attached a screen shot.
I'm not sure what's going on, I get the themed scrollbar in both cases here.
Hmmm. The concensus here is that it has something to do with our build of wx (http://code.enthought.com/enthon/). Does anyone know of flags etc in the setup.h or in the build process that could cause this sort of behavior?
After a little more thought I seem to recall that the scrollbar attached to windows is a different control than the standalone control, so my guess is that you don't have a manifest file for your python. It's the presence of this manifest (either as a resource in the .exe or as a file located next to the .exe named programname.exe.manifest) that triggers the use of the themed common controls DLL. If it's not present then XP falls back to the 5.x version of the DLL.
Sayyy! That gives us a whole lot of direction on getting this resolved. We'll dig in and see if this is indeed the issue.
Thanks for your help Robin.
Here's an example of a manifest file that I use on windows xp: