Using TextOut method

What is the better way to set/change dialog background? (by image, not color).
It is also possible to set tiled, center and stretch parameter?
Thanx if somebody can help me.
Lewix
[200 byte] By [lewix] at [2007-12-16]
# 1
Hello,

The following link may help you.

http://www.codeguru.com/forum/archive/index.php/t-133584.html

Regards,
Jahfer

JahferVP at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2
Ok good way. Smile
I had known about to handle event OnEraseBkGnd()....
But because i have to use a bitmaps as background, (not jpg for example), mfc application will become higher (as size and ram usage)?
I only miss to be able to handle center,stretch e tiled mode, if possible.
Lewix
lewix at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3

SORRY!! BUT I CAN'T ADD A NEW TOPIC (i don't know why, i tried by firefox and explorer), so i added my question here
Hello,
i'm working with a MFC Dialog base application: i need to display on the dialog

what the some operations done by application (like making a log), so i decided to

use the simple method TextOut to display each text line.
Where have i to use it? On dialog message OnPaint()? I see on the net many users

use it on OnDraw message, but it seems are not available for a CDialog.

Anybody can help me please?

P.S.: and simpler, when can i detect the dialog is loaded correctly (with his own

controls visible and loaded) and so i can start my code? (OnActivate,OnPaint,

etc...)
Sorry for my bad english, i hope you understand

Thank you

Lewix

lewix at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...