English
Forum

RichEdit to ReadOnly settle

 

Dietmar
Horn
Hi,
CompileMarkSeparation
Def LockWindowUpdate(1) !"USER32","LockWindowUpdate"
RTFEdit& = CREATE("RichEdit", ...)
RTF("LoadRTF",RTFEdit&,RTFDatei$)
LockWindowUpdate(RTFEdit&)pre>

so can I one RichEdit to ReadOnly settle, and the works too.

still if the RichEdit vertikale Srollbalken has, then is no Scrolling More possible.

white here someone council?

Thank you!

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
03/25/05  
 



Hau it simply ne 207,1 aufn Deets.

sendmessage (hdl&,207,1,0)

salvo, iF
 
03/25/05  
 




Dietmar
Horn
have my MEchen gehaun, gehaun and over ands over again gehaun - means really Real verprügelt!

has unfortunately not plenty helped!

in the Interpretermodus works the to the Verkloppen with the 207it joint now of course, still compiliert becomes in the RichEdit only a CLS-GetSysColor(15)-Soße displayed.

whether the what helps, if I my XPRF9ß now too yet verprügele (or RGH verkloppen ...)???

Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
03/26/05  
 



Hello Ditmar...

try times under The Sendmessage twenty times the row REM To settle. Perhaps is the Profan Messagehandling on it guilt (kanns unfortunately not testing, by me GEHTS with Profan 7.5).
 
03/26/05  
 




Stephan
Sonneborn
Hello Dietmar,

following Source functions under WIN2k too as EXE:
CompileMarkSeparation
declare rtfedit&, rtfdatei$
Def LockWindowUpdate(1) !"USER32","LockWindowUpdate"
cls
RTFEdit& = CREATE("RichEdit", %HWND, "1
1
1
1
1
1
1
1
1
1
1
1
1",100,100,100,100)
RTF("LoadRTF",RTFEdit&,RTFDatei$)
LockWindowUpdate(RTFEdit&)
sendmessage (RTFEdit&,207,1,0)

while 1

wend


I had The RTF(...)-row comment, because I no RTF-File to that testing having, and the program otherwise with a Exception exits watts.
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
03/26/05  
 




Dietmar
Horn
@Stephan: this is indeed not my trouble. If the Content the RichEdit only so big is, that no Scroll bar attend, then works it indeed by me. only even with Scroll bar not.

@Andreas: sound plausibel. can But first today evening To dwell try.

Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
03/26/05  
 




Rolf
Koch
Hi Dietmar,
How see it herewith from?
CompileMarkSeparation
Declare RICH&,RDLL&
RDLL&=UseDLL("RICHED20.DLL")
CLS
UseFont "MS Sans Serif",13,0,0,0,0
SetDialogFont 1
RICH&=Control("RichEdit20A","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxx",$54215804,23,45,292,37,%hwnd,2000,%hinstance)
Die XXXs sind einfach nur Dummy zum Füllen
Komischerweise kann ich den Stil $54215804 leider nicht wunschgemäss per Setstyle dem XProfan Richedit zuordnen - funktioniert nicht.
Also nur mit RichEdit20A möglich. ?!?

WHILE 1

    WAITINPUT

WEND

F
RDLL&

Rolf
 
03/26/05  
 




Stephan
Sonneborn
[quote:c248b87fef=Dietmar horn]@Stephan: this is indeed not my trouble. If the Content the RichEdit only so big is, that no Scroll bar attend, then works it indeed by me. only even with Scroll bar not.[/quote:c248b87fef]
Hello Dietmar,

have You it ausprobiert? by me attend several Lines, because I the Text with Zeilenumbrüchen
slip have. or meant You horizontale Scroll bar?
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
03/26/05  
 




Dietmar
Horn
I thanks you all!

with my code have I once more tacheles talked. as everything talk nothing helped, have I it additional to iF-joint too yet The AH-joint verpaßt: 20 x REM before it and 20 x REM thereafter led finally to that desired Result.

by the new Possibility, now several Commands in a row write to, sees the code now on this place nevertheless yet yummy from ...

Rolfs Control-Variante shows itself unfortunately just as störrich, as CREATE(RichEdit,...)

@Stephan: Yes, your Variante functions too by me. still I must whom Text a RTF-File loading - and then works it without The REMs even not any more. becomes well again a the ME-Spinnereien his, The it so often gives ...

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
03/26/05  
 



Hello Ditmar...

but not AHs REM joint tuts too IFs Timerkeule:
CompileMarkSeparation
I use Listboxes öfters as Statusrückgabe. there stolpere I each time over this profanige 20-Lines-trouble. in the Interpreter processing Profan Messages to eachone row - in the EXE only to eachone zwanzigsten row. After each GetMessage or Waitinput results but naturally too one work out the Messages and the obstacle becomes again resolved.
Abführprobleme Gibts even not only in the Altenpflege...

Perhaps ought to one The Waitinput-method DulcoIF and the REM method Laxoandi name?

there 40 drop Laxoandi first effect showed, verordne I you as doctor the Profanologie for your application now time one Suppositorium DulcoIF...


but denk on it - with übermäßiger application Gibts Dünnschiß without end!
 
03/26/05  
 




Stephan
Sonneborn
[quote:ff625f0531=Dietmar horn]@Stephan: becomes well again a the ME-Spinnereien his, The it so often gives ...[/quote:ff625f0531]
evident, because under WINXP works too with of/ one File...
CompileMarkSeparation
declare rtfedit&, rtfdatei$
Def LockWindowUpdate(1) !"USER32","LockWindowUpdate"
cls
RTFDatei$ = "c:\test.rtf"
RTFEdit& = CREATE("RichEdit", %HWND, "1
1
1
1
1
1
1
1
1
1
1
1
1",100,100,100,100)
RTF("LoadRTF",RTFEdit&,RTFDatei$)
LockWindowUpdate(RTFEdit&)
sendmessage (RTFEdit&,207,1,0)

while 1

wend

 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
03/26/05  
 



there is one time 2 days wech and finds hiern Topic to to totlachen

seldom so laughed.

salvo, iF
 
03/27/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

5.198 Views

Untitledvor 0 min.
RudiB.09/16/22
Erasmus.Herold10/11/18
Ernst04/15/16
Peter Max Müller06/09/15
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