English
Forum

sendkey on richedit

 
- Page 1 -



GDL
Hi Profaner

again small thing,with great Auswikung

Nutze this program to Mikrocontrolerprogramierung.there the begot View source Atmel Assembler is,is it necessary,the any Lines from of my application correctly übernommen go.an Fehlersuche in ASM code without debugger nervt jedesmal.

now to that trouble:
Since I The Lines at loading of/ one File particular evaluate must,have I the following zusammengebastelt:

WhileNot @Eof(#1)
Input #1,worth$
InsertString editor&,worth$
sleep 20 otherwise becomes Return verschluckt
@SendKey(editor&,13) Return Send
Sprungmarken detect

One install of/ one Loop ,as well as one raise the sleepwertes helps nothing,it go always some Return verschluckt.
without sleep go any Lines aneinandergefügt.

The latest Possibility would The File as .txt complete einzulesen and then
The Lines auszuwerten.want me but ifs possible is a complete Neuprogr.this Programmteiles save.

too if his suggestion with settimer waitinput killtimer is not.

my Modelleisenbahn power me yet to that Windowsprogramierer.Hätt so did i never virtual.

with friendly greet
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
02/12/05  
 



 
- Page 1 -



GDL
Hi Andreas,

thanks.How through Geisterhand becomes The Win.ini in Wordpad loaded.
goes same in my API Anwendugssammlung.gigant net,that You me same The Tastenbelegung included have.

Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
02/13/05  
 



 
- Page 2 -


Hello Georg...

so apropos can too with the fifth Parameter the function with want data between two Applications replace (z.B.Handles). These data can of Empfänger with the API GetMessageExtraInfo right simply read go...
 
02/14/05  
 




GDL
Hi Andreas,

is the fifth Parameter unkritisch,or ought to one rather The fingers of it let and not rumprobieren.
suppose,that The data in a Memory-Variables stand must(with string variables or Text).

have momentarily Elan,must I take advantage of.

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



Hello Georg...

Versuchs time with Longint (z.B. Handle&) or one 4byte great area...
 
02/14/05  
 




GDL
Hi Andreas,

have me misread.Habs with the 5.ten Parameter not yet attempts,I with one Error not white,obs for system follow has.

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



au flip!


I meant naturally whom 4.Parameter - and so there no trouble - but Please Longint or 4byte area take...
 
02/14/05  
 




Jörg
Sellmeyer
Hello Georg,
You could too first whom whole String join and then on whom editor Send.

declare Content$
Whilenot eof(#1)
input #1,row$
Content$=Zeile$+Chr$(13) + Chr$(10)
Wend
InsertString editor&,Content$

or whom Text in an Memory-Variable loading and then on the Richeditcontrol Send.
For this have I though in the momentum not The suitable Sendmessagewerte parat.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
02/14/05  
 



Hello Georg...

If I me there so Jörgs Posting ansehe, helps you Perhaps that here too yet moreover. for @addr(TEXT$) can you too a area bring into action:
CompileMarkSeparation
WINDOWSTYLE 31+512
WINDOWTITLE "RichEdit"
WINDOW 0,0-640,440
Declare RichEdit&,DLL_HDL&,Text$
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 "
@SendMessage(RichEdit&,$00C2,0,@ADDR(Text$)) Text einfügen/ersetzen
LEt Text$="da!"
@SendMessage(RichEdit&,$00C2,0,@ADDR(Text$)) Text einfügen/ersetzen
@SendMessage(RichEdit&,$00B1,6,6) Cursor setzen oder markieren
LEt Text$="du "
@SendMessage(RichEdit&,$00C2,0,@ADDR(Text$)) Text einfügen/ersetzen

whilenot %MENUITEM=-2

    WAITINPUT

wend

@DESTROYWINDOW(RichEdit&)
02/15/05  
 



[quote:3b08329bed=Jörg Sellmeyer]Hello Georg,
You could too first whom whole String join and then on whom editor Send.

declare Content$
Whilenot eof(#1)
input #1,row$
Content$=Zeile$+Chr$(13) + Chr$(10)
Wend
InsertString editor&,Content$

or whom Text in an Memory-Variable loading and then on the Richeditcontrol Send.
For this have I though in the momentum not The suitable Sendmessagewerte parat.
Greeting
Jörg[/quote:3b08329bed]so I this wrote already to 10 Posts.

salvo, iF
 
02/15/05  
 



at that Brainstorming come already time two on the same thoughts...
 
02/15/05  
 




GDL
Hi,

Jörg and If,having chr$(10) and chr$(13) on String add already ausprobiert.alike, whether particular reading or coherent,in both
Examples becomes everything in a long String without Line break eingefügt.have it already quite different resolved.read first The File with eof without Insertstring one,values my Lines from and read then The whole File as .txt in that Richedit one.

over again thanks on you and verbleibe with friendly greet
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
02/15/05  
 



becomes of course too nothing dran Change but in windows is it #13#10 instead of #10#13.

salvo, iF
 
02/15/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

8.098 Views

Untitledvor 0 min.
H.Brill vor 15 Tagen
RudiB.09/27/22
Matzbub12/30/18
W.L.07/05/17
More...

Themeninformationen



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