Click here to Skip to main content
15,902,938 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Listbox / Button Text update Pin
SledgeHammer014-Jan-12 13:36
SledgeHammer014-Jan-12 13:36 
GeneralRe: Listbox / Button Text update Pin
Member 84777754-Jan-12 13:40
Member 84777754-Jan-12 13:40 
GeneralRe: Listbox / Button Text update Pin
SledgeHammer014-Jan-12 14:45
SledgeHammer014-Jan-12 14:45 
QuestionDrawing semitransparent rectangle Pin
Member 29654714-Jan-12 11:40
Member 29654714-Jan-12 11:40 
QuestionFlat toggle button in Silverlight 4 Pin
AChatelain4-Jan-12 11:05
AChatelain4-Jan-12 11:05 
Question[HttpWebRequest_WebException_RemoteServer] Pin
narayanagvs3-Jan-12 1:56
narayanagvs3-Jan-12 1:56 
QuestionAvoid flicker Pin
Member 29654713-Jan-12 1:35
Member 29654713-Jan-12 1:35 
AnswerRe: Avoid flicker Pin
Pete O'Hanlon3-Jan-12 1:47
mvePete O'Hanlon3-Jan-12 1:47 
I'm not surprised you've got flickering. You keep showing and hiding a window in there, and it looks as though you are calling this on every mouse move - that's a lot of event updates you're calling this code in. You also haven't shown the code where you're highlighting, this will also be called a lot of times.

What is the purpose of the Hide/Show code? What are you changing the visibility of?
Are you tracking to see if the window that was last updated matches the one retrieved in WindowFromPoint? If not, that's an obvious optimisation.

Forgive your enemies - it messes with their heads

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


GeneralRe: Avoid flicker Pin
Member 29654713-Jan-12 2:00
Member 29654713-Jan-12 2:00 
GeneralRe: Avoid flicker Pin
Pete O'Hanlon3-Jan-12 2:07
mvePete O'Hanlon3-Jan-12 2:07 
GeneralRe: Avoid flicker Pin
Member 29654713-Jan-12 2:23
Member 29654713-Jan-12 2:23 
GeneralRe: Avoid flicker Pin
Pete O'Hanlon3-Jan-12 3:00
mvePete O'Hanlon3-Jan-12 3:00 
GeneralRe: Avoid flicker Pin
Member 29654713-Jan-12 3:09
Member 29654713-Jan-12 3:09 
GeneralRe: Avoid flicker Pin
Pete O'Hanlon3-Jan-12 3:18
mvePete O'Hanlon3-Jan-12 3:18 
GeneralRe: Avoid flicker Pin
Member 29654713-Jan-12 4:33
Member 29654713-Jan-12 4:33 
GeneralRe: Avoid flicker Pin
SledgeHammer013-Jan-12 6:33
SledgeHammer013-Jan-12 6:33 
Questionsilverlight datagrid double click Pin
arkiboys30-Dec-11 11:20
arkiboys30-Dec-11 11:20 
AnswerRe: silverlight datagrid double click Pin
Pete O'Hanlon31-Dec-11 11:05
mvePete O'Hanlon31-Dec-11 11:05 
GeneralRe: silverlight datagrid double click Pin
arkiboys3-Jan-12 2:46
arkiboys3-Jan-12 2:46 
GeneralRe: silverlight datagrid double click Pin
Pete O'Hanlon3-Jan-12 3:19
mvePete O'Hanlon3-Jan-12 3:19 
AnswerRe: silverlight datagrid double click Pin
Abhinav S1-Jan-12 19:38
Abhinav S1-Jan-12 19:38 
Questionpopulate datagrid Pin
arkiboys30-Dec-11 0:42
arkiboys30-Dec-11 0:42 
AnswerRe: populate datagrid Pin
V.30-Dec-11 1:15
professionalV.30-Dec-11 1:15 
GeneralRe: populate datagrid Pin
arkiboys30-Dec-11 1:21
arkiboys30-Dec-11 1:21 
GeneralRe: populate datagrid Pin
V.30-Dec-11 1:43
professionalV.30-Dec-11 1:43 

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.