BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TListView header repaint

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Dave Speight
Guest





PostPosted: Tue Aug 26, 2003 9:25 am    Post subject: TListView header repaint Reply with quote



Does anyone know how to force the column headers in a detail style listview
to repaint?

..Refresh, .Repaint, .Update don't do it. Playing with ShowColumnHeaders
didn't do it.
Maybe there's a HDN_XXX message to send?

I have a derived auto-rescaling listview component, and when the containing
form is shown sometimes the column header is just painted as a grey
rectangle, the only way to get it to show the contents is to force a repaint
by dragging the window off and on the screen etc, or clicking the dividers
between columns seems to repaint the header of the column to the left so it
must be possible to trick it somehow...

TIA


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing 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, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.