Entwickler-Ecke

Windows API - Grafik einfügen?


superchatti - Do 17.04.03 17:02
Titel: Grafik einfügen?
Ich arbeite an einem Textprogramm das schon fertig ist...
aber ich würde gerne die Funktion hinzufügen, das man Bilder einfügen kann!

Ich benutze ein RichEdit!
Weiß jemand wie das geht?

Ich würde mich freuen wenn ihr schnell antwortet!

Danke im voraus!


patrick - Do 17.04.03 18:30

gut möglich das ich jetzt blödsinn erzähle (ich brauch RE nicht so oft...)
aber ein auszug aus der hilfe
Zitat:
Use a TRichEdit object to put a standard Windows rich text edit control on a form. Rich text edit controls let the user enter text that includes variation in font attributes and paragraph formatting information.

TRichEdit provides the properties and methods to enter and work with rich text. TRichEdit does not provide any user interface components to make these formatting options available to the user. Applications must implement the user interface components to surface the rich text capabilities of a TRichEdit object. To make this easier, a number of pre-defined standard actions operate on a rich edit control to perform common formatting tasks.

TRichEdit publishes many of the properties inherited from TCustomRichEdit, but does not introduce any new behavior.


der fette teil will mir glaub ich sagen das du keine grafiken einfügen kannst.


superchatti - Do 17.04.03 18:51
Titel: Das geht aber
Ich habe schon andere Programme gesehen da geht das!
:wink:


superchatti - Do 17.04.03 18:53
Titel: zurück...
zurück zum E-Mail Client!
Wie mache ich das?
Und welche Tools sollte ich benutzen?
Wenn ich zum Beispiel Sak nehme ist das dann einfacher als mit Indy?
Was ist besser???
Sak oder Indy???

Ich hab beides!
Ich meine beides ist gut!
Aber ich kenn mich da nicht aus! :oops:


Terra23 - Sa 26.04.03 12:45

@Patrick: Ich glaube, der fette Text bedeutet im Sinn lediglich nur soviel, daß es dir möglich ist, in diesem RichEdit die Farbe, den Stil etc. des Textes zu beeinflussen (ähnlich wie Word -> in einem Satz ein Wort z.B. fett und rot).

@Superchatti: Schon mit der Suche versucht? Manchmal bringt es viel, sich nicht auf einen Begriff festzulegen. Versuch doch mal RichEdit oder Image oder beides in Kombination.


toms - Sa 26.04.03 13:11

Such mal im SDC nach "RxRichEdit image"