Click here to Skip to main content
15,922,166 members
Home / Discussions / C#
   

C#

 
GeneralRe: Coding SQL Statement with String Literals Pin
polishprogrammer15-Sep-08 9:01
polishprogrammer15-Sep-08 9:01 
GeneralRe: Coding SQL Statement with String Literals Pin
Pete O'Hanlon15-Sep-08 9:08
mvePete O'Hanlon15-Sep-08 9:08 
GeneralRe: Coding SQL Statement with String Literals Pin
polishprogrammer15-Sep-08 9:28
polishprogrammer15-Sep-08 9:28 
GeneralRe: Coding SQL Statement with String Literals Pin
Giorgi Dalakishvili15-Sep-08 9:28
mentorGiorgi Dalakishvili15-Sep-08 9:28 
GeneralRe: Coding SQL Statement with String Literals Pin
Paul Conrad15-Sep-08 9:48
professionalPaul Conrad15-Sep-08 9:48 
AnswerRe: Coding SQL Statement with String Literals Pin
Paul Conrad15-Sep-08 9:47
professionalPaul Conrad15-Sep-08 9:47 
QuestionCalling c# methods from unmanaged code (Not COM) and vice versa Pin
greenbeast15-Sep-08 8:23
greenbeast15-Sep-08 8:23 
QuestionTreeView flickering? Pin
Cyrilix15-Sep-08 5:56
Cyrilix15-Sep-08 5:56 
So, I've essentially implemented a folder browser with a TreeView, and what I'm doing is trying to get it to remove flickering. Here's how it works:

Initially, say my folder structure starts like this, and the node that I want to refresh (folder nodes labeled with dots except for root) is indicated:
Root
 |
 |__. (node to be refreshed)
 |  |
 |  |__.
 |  |
 |  |__.
 |
 |__.


When I try to do the refresh, it ends up like this after I delete all the subnodes:
Root
 |
 |__. (in the process of being refreshed)
 |
 |__.


Then, it ends up like the initial diagram again. The problem is, I'm getting screen flickering everytime I do this operation. I've tried using TreeView.BeginUpdate() before calling the refresh, then TreeView.EndUpdate() after the refresh is done. Even when no folders have changed at all (i.e. the treeview ends up looking exactly the same in my Winforms application), I get the flicker. My assumption was that if the image on-screen didn't change, then nothing would have to be redrawn (thereby avoiding flicker). If not, then what assumptions can I make, and would there be any tips on solving this problem? Also, note that TreeView.DoubleBuffered doesn't actually do anything for this control.
AnswerRe: TreeView flickering? Pin
Anthony Mushrow15-Sep-08 10:47
professionalAnthony Mushrow15-Sep-08 10:47 
GeneralRe: TreeView flickering? Pin
Cyrilix15-Sep-08 11:24
Cyrilix15-Sep-08 11:24 
QuestionValidate an EmailID Exist or not Pin
Tiger45615-Sep-08 5:32
Tiger45615-Sep-08 5:32 
AnswerRe: Validate an EmailID Exist or not Pin
Scott Dorman15-Sep-08 5:42
professionalScott Dorman15-Sep-08 5:42 
AnswerRe: Validate an EmailID Exist or not Pin
Paul Conrad15-Sep-08 9:49
professionalPaul Conrad15-Sep-08 9:49 
QuestionImplementation of TimeTable Pin
singhpreeti2315-Sep-08 4:38
singhpreeti2315-Sep-08 4:38 
AnswerRe: Implementation of TimeTable Pin
leppie15-Sep-08 4:48
leppie15-Sep-08 4:48 
GeneralRe: Implementation of TimeTable Pin
singhpreeti2315-Sep-08 19:19
singhpreeti2315-Sep-08 19:19 
GeneralRe: Implementation of TimeTable Pin
Harvey Saayman15-Sep-08 20:55
Harvey Saayman15-Sep-08 20:55 
GeneralRe: Implementation of TimeTable Pin
Owners.Inc15-Dec-10 3:53
Owners.Inc15-Dec-10 3:53 
QuestionCreate a control object instance from a type Pin
Chazzysb15-Sep-08 3:52
Chazzysb15-Sep-08 3:52 
AnswerRe: Create a control object instance from a type Pin
Chazzysb15-Sep-08 3:55
Chazzysb15-Sep-08 3:55 
GeneralRe: Create a control object instance from a type Pin
leppie15-Sep-08 4:50
leppie15-Sep-08 4:50 
QuestionConverting Bitmap to Image Pin
Fabrizio Magosso15-Sep-08 3:41
Fabrizio Magosso15-Sep-08 3:41 
AnswerRe: Converting Bitmap to Image Pin
Eslam Afifi15-Sep-08 4:06
Eslam Afifi15-Sep-08 4:06 
GeneralRe: Converting Bitmap to Image Pin
leppie15-Sep-08 4:51
leppie15-Sep-08 4:51 
AnswerRe: Converting Bitmap to Image Pin
Fabrizio Magosso15-Sep-08 5:01
Fabrizio Magosso15-Sep-08 5:01 

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.