BUG: Scrollbar is rendered with wrong theme |
Post Reply |
Author | |
flashk
Groupie Joined: 04 March 2008 Status: Offline Points: 44 |
Post Options
Thanks(0)
Posted: 20 December 2010 at 7:40pm |
I've noticed this problem in my application on Windows XP and Windows 7. The vertical scrollbar of my report control is rendered in the old Windows 2000 theme. However, once the mouse is moved over the scroll bar, it switches to the native theme.
I'm able to reproduce this with your ResourceEditor sample program using the folllowing step:
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, OS theme thing appears because of WS_CLIPCHILDREN|WS_CLIPSIBLINGS style. Comment line in CResourceEditorView::PreCreateWindow and it will disappear.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
flashk
Groupie Joined: 04 March 2008 Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Thanks, that fixes the issue with the ResourceEditor example.
However, in my application the report control is attached to a docking pane. How can I control the WS_CLIPCHILDREN|WS_CLIPSIBLINGS style of the docking pane window? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |