I'm writing an Acrobat plug-in module (a DLL) and I need to use the standard DialogBox call for now to interact with the user. My DLL and the resulting installation has to be as small as possible, so I decided against MFC.

How in the world can I effectively do a SetDialogBkColor without MFC?

Kudos to anyone who can figure this one out.

I was able to use WM_PAINT in my DialogProc to paint the background white all the time, but all the controls are still drawn with a light gray background.

Thanks a million.