Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with DrawToBitmap

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
bhofmann



Joined: 20 Aug 2007
Posts: 26

PostPosted: Mon Jan 19, 2009 1:24 pm    Post subject: Problem with DrawToBitmap Reply with quote

Hello,

I'm doing some automated screenshots of my application by using the Control.DrawToBitmap method on a user control that contains a toolbar, and under it a virtual tree.
My problem is that the virtual tree's header background is painted with an offset, which seems to be the toolbar's height.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Jan 19, 2009 9:56 pm    Post subject: Reply with quote

I suspect the problem may be related to using XP Styles for the headers. If you set the Virtual Tree StyleTemplate to Vista (which has UseThemedHeaders false) does the problem still occur. We will take a look at the issue.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Jan 20, 2009 11:37 pm    Post subject: Reply with quote

We have confirmed that this issue exists only if UseThemedHeaders is set to true. We have also found a fix for this issue which will be included in the next minor release within the next day or so.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
bhofmann



Joined: 20 Aug 2007
Posts: 26

PostPosted: Wed Jan 21, 2009 12:51 pm    Post subject: Reply with quote

Ok great thank you very much.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Jan 22, 2009 12:21 am    Post subject: Reply with quote

This issue has now been fixed in Version 3.11.1 just released
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
bhofmann



Joined: 20 Aug 2007
Posts: 26

PostPosted: Wed Jan 28, 2009 3:20 pm    Post subject: Reply with quote

Works great thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group