Roger Upole wrote: > OnCtlColor is expected to return a GDI handle rather than a full > MFC object. Ah, okay. It does say so, now that I come to look at the docs carefully enough. It works fine now. Thanks, Greg