SetDialogBkColor without MFC
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.
Re: SetDialogBkColor without MFC
You'll need to add a handler for WM_CTLCOLORDLG for each of your dialog boxes, I believe.
Rail
------------
Recording Engineer/Software Developer
Rail Jon Rogut Software
http://home.earthlink.net/~railro/
[email protected]
Re: SetDialogBkColor without MFC
BTW, I wrote a DLL Plug-in for an app, and I used MFC (linked statically)... the final DLL including resources was only 220 kBytes.
Rail
------------
Recording Engineer/Software Developer
Rail Jon Rogut Software
http://home.earthlink.net/~railro/
[email protected]