Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
GeneralDrag and Drop feature in TreeView Pin
viru15-Mar-04 21:04
viru15-Mar-04 21:04 
GeneralRe: Drag and Drop feature in TreeView Pin
Heath Stewart16-Mar-04 3:23
protectorHeath Stewart16-Mar-04 3:23 
GeneralWeb control questions Pin
Den2Fly15-Mar-04 19:55
Den2Fly15-Mar-04 19:55 
GeneralRe: Web control questions Pin
Heath Stewart16-Mar-04 3:19
protectorHeath Stewart16-Mar-04 3:19 
GeneralRe: Web control questions Pin
Den2Fly16-Mar-04 3:44
Den2Fly16-Mar-04 3:44 
GeneralRe: Web control questions Pin
Heath Stewart16-Mar-04 3:53
protectorHeath Stewart16-Mar-04 3:53 
GeneralThank you so much -nt Pin
Den2Fly16-Mar-04 4:53
Den2Fly16-Mar-04 4:53 
GeneralDoubleBuffer Exception Pin
Amberite0015-Mar-04 16:40
Amberite0015-Mar-04 16:40 
Hi,

I have a control I am making (inherits from Control), called ExtendedListView, in which I use two sub controls to perform drawing operations in. Problem is, in these sub controls (which are classes inheriting from Control, inside of ExtendedListView), when I call this.SetStyle(ControlStyles.DoubleBuffer, true), an exception is thrown (not on that line, but sometime after) in System.drawing.dll.

If I call DoubleBuffer in the main class (ExtendedListView), everything is ok. If I delete the DoubleBuffer code from the sub-controls then everything is ok. However, I need these sub-controls to have DoubleBuffer as I am using them to draw into.

I can't see where the exception is because it happens somewhere not in my code. Does anyone know of this error? Why is it happening?

Thanks!

Yaron
GeneralRe: DoubleBuffer Exception Pin
John Fisher15-Mar-04 17:08
John Fisher15-Mar-04 17:08 
GeneralRe: DoubleBuffer Exception Pin
Amberite0015-Mar-04 17:32
Amberite0015-Mar-04 17:32 
GeneralRe: DoubleBuffer Exception Pin
John Fisher16-Mar-04 12:49
John Fisher16-Mar-04 12:49 
GeneralRe: DoubleBuffer Exception Pin
Heath Stewart16-Mar-04 3:15
protectorHeath Stewart16-Mar-04 3:15 
GeneralRe: DoubleBuffer Exception Pin
John Fisher16-Mar-04 12:48
John Fisher16-Mar-04 12:48 
GeneralRe: DoubleBuffer Exception Pin
Heath Stewart16-Mar-04 3:18
protectorHeath Stewart16-Mar-04 3:18 
QuestionInsert new Array ? Pin
azusakt15-Mar-04 16:24
azusakt15-Mar-04 16:24 
AnswerRe: Insert new Array ? Pin
John Fisher15-Mar-04 17:03
John Fisher15-Mar-04 17:03 
AnswerRe: Insert new Array ? Pin
Heath Stewart16-Mar-04 3:13
protectorHeath Stewart16-Mar-04 3:13 
GeneralConvert from true type font to vector image Pin
Zhang Songling15-Mar-04 15:32
Zhang Songling15-Mar-04 15:32 
GeneralRe: Convert from true type font to vector image Pin
Heath Stewart16-Mar-04 3:09
protectorHeath Stewart16-Mar-04 3:09 
QuestionC# and XSLT [ Bug ] ? Pin
Matthew Hazlett15-Mar-04 14:34
Matthew Hazlett15-Mar-04 14:34 
AnswerRe: C# and XSLT [ Bug ] ? Pin
Matthew Hazlett15-Mar-04 19:46
Matthew Hazlett15-Mar-04 19:46 
AnswerRe: C# and XSLT [ Bug ] ? Pin
Heath Stewart16-Mar-04 3:00
protectorHeath Stewart16-Mar-04 3:00 
Generaliterate through enum Pin
Christian Graus15-Mar-04 13:14
protectorChristian Graus15-Mar-04 13:14 
GeneralRe: iterate through enum Pin
Christian Graus15-Mar-04 14:34
protectorChristian Graus15-Mar-04 14:34 
GeneralForms & variables & suchlike Pin
surgeproof15-Mar-04 10:54
surgeproof15-Mar-04 10:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.