views:

55

answers:

1

I have an old MFC utility written with VS2008 project. We have used this utility for a few years now and I have never experienced this problem personalty but it is showing up more and more often on customers computers.

Sub dialogs launched from my main dialog will have their buttons blackened out. I have included a screenshot from one of my customers computers.

alt text

The customer is using Microsoft Windows XP Professional Version 2002 Service Pack 3. I have tested this problem with this version of Windows in our lab with out being able to reproduce it. This problem has happened on lots of different peoples computers.

Do you know what causes it? and how to resolve it?

+1  A: 

I've seen this when the machine was out of memory. It didn't have enough RAM left to load the button images.

Jay
Not out of memory - just out of GDI handles. Usually happens if there's a GDI leak somewhere. The chance of that happening are much higher than being out of memory.
Stefan