Text Display in MDI

N

Niranjan podduturi

Hello Friends
Iam niranjan Developing MDI Application in vc++6.0
when iam displaying text in windows iam using OnDraw and OnChar
functions.
in OnChar function iam incrementing the x,y positions accoording to
Key strokes. and making the string buffer to empty in "Enter" Key
stroke
in OnDraw function
by using pDC->TextOut(x,y,str) iam displaying the text
here iam not getting the proper data....
my problems are....
1. after giving ther enter key curson going to next line but previous
lines data in erasing , after ever enter key..
if any one knows solution plz help me to get the proper data...
Thanking you
Niranjan
 
E

Efrat Regev

Niranjan podduturi said:
Hello Friends
Iam niranjan Developing MDI Application in vc++6.0
when iam displaying text in windows iam using OnDraw and OnChar
functions.
in OnChar function iam incrementing the x,y positions accoording to
Key strokes. and making the string buffer to empty in "Enter" Key
stroke
in OnDraw function
by using pDC->TextOut(x,y,str) iam displaying the text
here iam not getting the proper data....
my problems are....
1. after giving ther enter key curson going to next line but previous
lines data in erasing , after ever enter key..
if any one knows solution plz help me to get the proper data...
Thanking you
Niranjan

You might have more success finding an answer in a group that is dedicated
to VC++ or Windows programming, than in this one (which is dedicated to C++)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,199
Messages
2,571,045
Members
47,643
Latest member
ashutoshjha_1101

Latest Threads

Top