redraw

WPF Application is slow / jerky whilst being moved

I have a rather basic shell of a WPF app that I am creating. When I move it using the DragMove() function the app moves properly but seems to "jerk" a lot. It seems to me that the redraw rate is very low making the application look slow and unresponsive. Currently there is no "code" besides a call to DragMove(). The XAML consists of a...

How to redraw a view? (OpenGl)

Hi, I want to create a kind of a simulation. It should display the certain position of a fish/shark/orca (not real ones, they are set up randomly). My Simulation can display the starting situation: glOrtho(0, breite, 0, hoehe, 0, 1); glClearColor(0, 0, 1, 0); glClear(GL_COLOR_BUFFER_BIT); //Besetzen der Felder srand(time(0)); NSMutable...

vb.net 2010 Usercontrol scrolling problem

Hi, I have a usercontrol that i am working with based on a project i downloaded that displays a calendar. I am trying to adapt it to show a week to view like in Outlook 2007 where the columns are the days and the rows are 30min segments. The problem i am having is that when i turn on autoscrolling and scroll down, it fails to correctl...

How can I make RDW_NOERASE (RedrawWindow) work in Windows Vista?

I am trying to draw behind the desktop icons and didn't manage to do it. Then I found out that the RDW_NOERASE flag used in RedrawWindow is disabled in windows vista. I tried to start the program in xp compatibility mode and with administrative privileges. I does not work. The code is ok. I tested it in xp and it works perfectly. ...

Silverlight C# force redraw

I've taken over a silverlight project from someone else. I should point out that I'm not a big .net person; most development I've done since graduating has been c++ and objective-c, but I'm just about getting the hang of it. I've been tasked with implementing a small on-screen control which can be used to change a time multiplication fa...

Listview's ArrayAdapter notifydatasetchanged() very slow redraw

I've a quite simple list with 3 textview fields on each row. We are updating their values every 2 seconds or so with data coming from a background webservice call ( AsyncTask ) We compare the coming values with the current ones, update them accordingly on the Adapter and finally calling notifyDataSetChanged() if needed The thing is th...