English
Forum

Current Line in rtf delete

 

GDL
Hi,
have the following trouble:
How can in a Richedit The actually row delete?
Thank you.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
07/08/05  
 



Hello Georg...

Have something gebastelt - so?
CompileMarkSeparation
WINDOWSTYLE 31+512
WINDOWTITLE "RichEdit"
WINDOW 0,0-640,440
Declare RichEdit&,DLL_HDL&,Text$,Löschen&,Aktuelle_Zeile&,Erster_Buchstabe&,ZeilenLänge&
DLL_HDL&=@UseDLL($SYSPATH+"RICHED20.DLL")
LET RichEdit&=@Control("RichEdit20A","",$40000000+$10000000+4+$1000+$800000+$200000+$100000,20,20,300,300,%HWND,2112,%HINSTANCE)
@SENDMESSAGE(RichEdit&,$0400+53,0,$7FFFFFF0)
LEt Text$="Hallo"+@CHR$(13)+@CHR$(10)
@SendMessage(RichEdit&,$00C2,0,@ADDR(Text$)) Text einfügen/ersetzen
LEt Text$="da!"+@CHR$(13)+@CHR$(10)
@SendMessage(RichEdit&,$00C2,0,@ADDR(Text$)) Text einfügen/ersetzen
@SendMessage(RichEdit&,$00B1,6,6) Cursor setzen oder markieren
LEt Text$="du"+@CHR$(13)+@CHR$(10)
@SendMessage(RichEdit&,$00C2,0,@ADDR(Text$)) Text einfügen/ersetzen
Let Löschen&=@CREATEBUTTON(%HWND,"Zeile löschen",350,30,200,30)

whilenot %MENUITEM=-2

    WAITINPUT

    IF @Getfocus(Löschen&)

        LET Aktuelle_Zeile&=@SENDMESSAGE(RichEdit&,$C9,-1,0)
        LET Erster_Buchstabe&=@SENDMESSAGE(RichEdit&,$BB,-1,0)
        ZeilenLänge&=@SENDMESSAGE(RichEdit&,$C1,Erster_Buchstabe&,0)

        IF Aktuelle_Zeile&>0

            @SENDMESSAGE(RichEdit&,$B1,Erster_Buchstabe&-1,Erster_Buchstabe&+ZeilenLänge&) Zeilenumbruch und Zeile markieren

        else

            @SENDMESSAGE(RichEdit&,$B1,Erster_Buchstabe&,Erster_Buchstabe&+ZeilenLänge&+1) Nur Zeile markieren

        endif

        LET TEXT$=""
        @SendMessage(RichEdit&,$00C2,0,@ADDR(Text$)) Text einfügen/ersetzen
        Sleep 100 Wegen Getfocus

    endif

wend

@DESTROYWINDOW(RichEdit&)
FREEDLL DLL_HDL&
 
07/09/05  
 




GDL
thanks Andreas, will be it testing.lasts but NEN bisschen, I currently Express gesundheitl. Problems have.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
07/10/05  
 




GDL
Hello Andreas,

It's all right in the Einzelversuch.set it in of my application versuchsweise one.be again Piece moreover.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
07/12/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.737 Views

Untitledvor 0 min.
H.Brill01/25/23
Thomas Freier09/04/21
Uwe Lang05/06/18
Peter Max Müller11/13/17

Themeninformationen

this Topic has 2 subscriber:

GDL (3x)
unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie