invalidation

How do I find out whether a control is currently invalidating?

I'm writing a custom DataGridView cell class that hosts a control. I'm listening to the Invalidated event to know whether I should reposition and repaint the cell, but I'm getting loops because repositioning the cell can invalidate other hosted cells, which then invalidate the first one, and so on. I don't want to use a static member t...

WPF application fail to update the rectangle around the mouse pointer on click

Hi, Is it just me? I’m a WPF newbie. Everything is nice and shining, and I managed to write a small application that meets my needs, but I noticed that many times, for instance when I click a button or a list view, the event is handled (e.g. list view selection is changed), but the area under the mouse is not updated, so a small rectang...

How to debug/track when a dialog is invalidated?

Hi, My MFC application has a CView and a couple of floating non-modal dialogs. I am currently trying to figure why an invalidation/repaint of my view also causes the dialogs to be redrawn. This even happens if the dialogs are not overlapping with the view. Does anybody know how to debug/track who request a specific dialog redraw? Inter...

SqlCacheDependency and output cache invalidation

Hi , Suppose I have a page abc.aspx in it I have a user control ucx123.ascx. I am fragment caching the user control and the cache is vary by param. The parameter is some id in the querystring. I want to add a sql cache dependency with respect to sql query. The scenario is I added the dependency but the cache is not invalidating ...

What does container invalidation in C++ mean?

I learned today about the term invalidation in context of C++ containers. Can anyone explain what it means? It seems like you're not allowed to modify elements of a container in some way when looping over the container. But what way exactly? Please help me understand this topic. Thanks, Boda Cydo. ...