Call SetDialogBkColor with the background and foreground colors that you want in the InitInstance method of your CWinApp-derived class. For example, if you wanted your dialog to have a black background with white text, you would add this to your InitInstance method:
SetDialogBkColor(RGB(0, 0, 0), RGB(255, 255, 255));
- Elton