|
-
August 31st, 1999, 04:49 PM
#1
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.
-
August 31st, 1999, 05:03 PM
#2
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]
-
August 31st, 1999, 07:39 PM
#3
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|