AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

TextOut problems

Ein Thema von frankly · begonnen am 11. Mai 2003
Antwort Antwort
frankly

Registriert seit: 5. Mai 2003
22 Beiträge
 
#1

TextOut problems

  Alt 11. Mai 2003, 13:21
Hi ppl

I created a child windows and I passed the child window handle to a function. And inside that function I used TextOut to print out simply "hallo"
So I simply use
Code:
TextOut(hdc, 10, 10, "hallo", 5);
One line is fine, but if I called TextOut like 10 times and incrementing like

Code:
TextOut(hdc, 10, 30, "hallo2", 5);
TextOut(hdc, 10, 50, "hallo3", 5);
TextOut(hdc, 10, 70, "hallo4", 5);
.
.
.
Then some of the "hallo"s will be out of the range of the child window and cannot be displayed. So anyone can help me how to make it scrollable?
And anothe thing is when I resize the child window, like maximizing or minimizing it. The texts will be all gone. So I think that has sth to do with WM_PAINT, right? But how should I make it?

Actually I'm trying to make the application window like a console window, displaying text

So when the text goes on and on, the most recent text will be inside the window's view while the previous ones are scrolled upwards...um...you know what I mean.. hehe

So do any of you guyz have any idea on how to make it? Just displaying text on the application window?

Thanz!!
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:30 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz