|
-
October 13th, 2008, 04:56 AM
#1
MultiLine Tab Control and XP theme drawing
Hello All,
I seem to be facing a weird problem with tab control and XP themes. Please find test sample.
Some strange points to be noted:
1) Problem only occurs with 'Multiline' option set on XP with theme drawing enabled
2) Problem only occurs with the tab items on the bottom row (assuming tab control has 2 rows)
3) Problem only occurs if we try to resize the tab control.
It seems that some how a redraw message is not sent to the child windows under certain conditions however force redraw does not seem to help either.
Thanks a lot for the help.
Last edited by MrBeans; June 2nd, 2010 at 04:25 AM.
One's mistake cannot be your excuse!
-
October 17th, 2008, 05:33 AM
#2
Re: MultiLine Tab Control and XP theme drawing
Ok, for those interested I found a solution or rather a Workaround.
You will need to use UpdateWindow API on the child window in Paint handler of the parent window (may be Tab control in this case)
One's mistake cannot be your excuse!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|