By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,221 Members | 1,663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,221 IT Pros & Developers. It's quick & easy.

NET2.0: Double buffered list view causes transparent selection box?

P: n/a
I am trying to do a owner drawn list view in detail mode, when i inherited
the list view into a new custom control then turned on double buffering all
the sudden the selection rectangle is the alpha channel transparent one that
windows xp's shell uses... is there any way to just keep the standard dotted
rectangle one? because performance is slow when the transparent rectangle
region is enabled with double buffering... but i cant find a way to keep it
from showing up when you turn on double buffering (need to turn it on
because it flickers like heck with out it on in owner drawn mode)
Public Class DoubleBufferedListView
Inherits Windows.Forms.ListView
Public Sub New()

' This call is required by the Windows Form Designer.

' Add any initialization after the InitializeComponent() call.
Me.DoubleBuffered = True

End Sub
End Class

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.