Tradional Q on DialogBox
How should one change or use different fonts and styles and colors in a dialog-box(for labels I think!), in a MFC/Non-MFC dialog based application.
Please note this question is from Meow!, my friend(He usues MS VS6, just like me), not from me.
I told him:-
(1)to read about WM_SETFONT & others... in the documentation...
(2)Create and use fancy pictures(TEXT??!!) in place of label(static) texts...
(3)Cannot be done...
--- Well, he seems doesn't like any of them.
So hoping if you guys can cool him down!
On behalf of Meow!,
To create a individual dialog compleatly customised in font, colour, and shape...
Search here for 'window skinning', double buffering and GDI (GDI+).
It is easily possible, but is in the medium to advanced area of MFC / WIN32.
Simple changes are easily possible....
ie change an edits font by creating a new font, selecting it into the edit and cleaning up when the dialog closes by releasing, then deleting the font.
>>(2)Create and use fancy pictures(TEXT??!!) in place of label(static) texts...
Like a button with a picture instead of text?
run a search here for CBitmapButton as I posted code recently.
Look at Picture control in MFC.