Click here to Skip to main content
15,924,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater21-Sep-08 7:24
Abydosgater21-Sep-08 7:24 
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili21-Sep-08 8:35
mentorGiorgi Dalakishvili21-Sep-08 8:35 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater24-Sep-08 4:22
Abydosgater24-Sep-08 4:22 
Questionglobal:: Pin
#realJSOP15-Sep-08 11:06
professional#realJSOP15-Sep-08 11:06 
AnswerRe: global:: Pin
DaveyM6915-Sep-08 11:15
professionalDaveyM6915-Sep-08 11:15 
QuestionUnmanaged DLL injection under Vista x64 Pin
EURaklap15-Sep-08 9:53
EURaklap15-Sep-08 9:53 
AnswerRe: Unmanaged DLL injection under Vista x64 Pin
Giorgi Dalakishvili15-Sep-08 10:03
mentorGiorgi Dalakishvili15-Sep-08 10:03 
QuestionCheck if a field exists in a table before adding it to another table Pin
Twyce15-Sep-08 9:50
Twyce15-Sep-08 9:50 
GeneralRe: Check if a field exists in a table before adding it to another table Pin
Pete O'Hanlon15-Sep-08 9:55
mvePete O'Hanlon15-Sep-08 9:55 
GeneralRe: Check if a field exists in a table before adding it to another table Pin
Twyce15-Sep-08 10:40
Twyce15-Sep-08 10:40 
QuestionCoding SQL Statement with String Literals Pin
polishprogrammer15-Sep-08 8:41
polishprogrammer15-Sep-08 8:41 
GeneralRe: Coding SQL Statement with String Literals Pin
Pete O'Hanlon15-Sep-08 8:59
mvePete O'Hanlon15-Sep-08 8:59 
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 

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.