English
Forum

Question Richedit

 

Timotheus
another question ,

How can in a Richedit a waagerechten Scroll bar settle, or at least whom Line break switch off?

Timo
 
10/02/04  
 



Hello Timo...
with RichEdit Version 1.0 there there objectively wildly Problems. If the program but not absolutely on each windows95 system walk should, should the but so functions:
CompileMarkSeparation
WINDOWSTYLE 31+512
WINDOWTITLE "RichEdit"
WINDOW 0,0-640,440
Declare RichEdit&,DLL_HDL&
DLL_HDL&=@UseDLL($SYSPATH+"RICHED20.DLL")
LET RichEdit&=@Control("RichEdit20A","",$40000000+$10000000+4+$1000+
 $800000+$200000+$100000,20,20,300,300,%HWND,2112,%HINSTANCE)

whilenot %MENUITEM=-2

    WAITINPUT

wend

@DESTROYWINDOW(RichEdit&)
FREED
DLL_HDL&

Habs bislang but only under windows98 tested...
 
10/05/04  
 




Frank
Abbing
Hi,

[quote:1ad7ee741b]$40000000+$10000000+4+$1000+$800000+$200000+$100000[/quote:1ad7ee741b]
In this case goes it Yes well. but experienced Programmer should itself absolutely accustom, ? Happen? not To add, separate with OR To link...
can otherwise to a wicked Fehlerquelle go.
 
10/05/04  
 



Hello Frank....

Erfahrener Programmer? hopefully Dou you mean lest me...
see me at the very most as apprentice.
nevertheless find I the, what You there says, very interestingly. I had bislang yet no Problems with the Verknüfung of flags with +, can you but an example show, with the The Verknüfung with @or quite derbe into pants goes (really the only example with or, that I ever tested have). with + skin the same View source apparently wonderful there. where standing the, that one ? Happen? with or verknüpft? be, How said, sooner one apprentice as one expert and experience is always relatively....
 
10/06/04  
 




Michael
Dell
Hello Andreas,

if i remember rightly must ? Happen? with binärem or (means | ) verknüpft go
the in many Make To ähnlichen or identischen Ergebnissen lead How the add but
even not always. the logische or (means Or ) can like add and Subtrahieren wirken and a ziemliches chaos arrange.

Oh man, hopefully Have I the now correctly. declared otherwise custom I at next
Klassentreffen none first glances let.

Greeting

Michael...
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
10/06/04  
 



Hello Frank, Hello Michael...

i'm of course in the momentum in the night shift and therefore not so integrally aufnahmefähig - but is not so, the ? Happen? anyhow always only in binären Zweierpotenzen indicated go?

means:
first Flag 00000001=1
zweiter Flag 00000010=2
dritter Flag 00000100=4
fourth Flag 00001000=8

is it there not jerkin How pants, means integrally alike, whether one add or with binärem ODER verknüft? One different Result would it still only give, if one Flag z.B. 11, means 3 would - the would then still but still no Flag, or? How ought to one a Flagwert 3 because zurückrechnen?? As I said, be utterly no expert but eure Einwände weg for me in the moment somehow quite far on the Logik past ...
 
10/06/04  
 




Michael
Dell
Hello Andreas,

i think It's all right More therefore Error the Programierers To avoid.

z.B.: You spend versehn twice the same Flag on:

add
0001
0001
-------
0010 = 2

Ver- Odern
0001
0001
-------
0001 = 1

so what is Yes not strain erwünscht can but time vorkommen.

can his that I me Crazy, be of Experten distant.

Michael...
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
10/06/04  
 



Hello Michael!

The same thought is me yesterday against 23.00watch too come (sometimes need I something longer to that chid). in the windows.PH stand among other things ? Happen?, from several ? Happen? zusammengesetzt are. If one here The already encompassed ? Happen? too yet add (because one no idea has, from the what there does), comes it zwangsläufig to a Error. One OR swallow against it such Mist bedenkenlos and one get nevertheless yet the right Result.

@Frank:
If you me vorschlägts rather ? Happen? with OR To link, have you got Perhaps whom local, that I none white I there do? :biggrin:

an addition of flags is still plenty übersichtlicher as one OR or one | in the View source. One from it entstandener worth can itself quite free from problems understand - How sees the but with OR or | from? i think time, not everyone knows itself in the Hexadezimal and Binärcode so well from, the it immediate understands what there happens - or I see it wrong?? I could the on attempt anyway not discern...
 
10/07/04  
 




Frank
Abbing
Hi,

[quote:9978a1c21f]if i remember rightly must ? Happen? with binärem or (means | ) verknüpft go
the in many Make To ähnlichen or identischen Ergebnissen lead How the add but
even not always. the logische or (means Or ) can like add and Subtrahieren wirken and a ziemliches chaos arrange. [/quote:9978a1c21f]
very, the binäre OR is meant.

[quote:9978a1c21f]@Frank:
If you me vorschlägts rather ? Happen? with OR To link, have you got Perhaps whom local, that I none white I there do?

an addition of flags is still plenty übersichtlicher as one OR or one | in the View source. One from it entstandener worth can itself quite free from problems understand - How sees the but with OR or | from? i think time, not everyone knows itself in the Hexadezimal and Binärcode so well from, the it immediate understands what there happens - or I see it wrong?? I could the on attempt anyway not discern... [/quote:9978a1c21f]
whether You + or | verwendest, both sees same well from and is same costly to that prompt. You can Yes private the + quiet use, but if You public something postest, on the Neulinge yet herumwerkeln want/should, would I you the | recommend.
it watts already said, the in the particular combined ? Happen? otherwise Problems bound.
 
10/07/04  
 




Timotheus
Hello AH,

thanks, your example klappte first well, still then noticed I that these Richedit quite no is! In tappt im dunkeln fit too only 32KB.

Timo
 
10/13/04  
 




Frank
Abbing
Hello Timo,

nimm these row time along into your code, nachden your Control created watts:
CompileMarkSeparation
SendMessage(richedit&,$435,0,$7ffffff0)  EM_ExLimitText
>

Standardmäßig is the Text in a Richedit on 32 KB voreingestellt. The Message increased WinXP? the maximum.
 
10/13/04  
 



Hello Timo...

One Richedit has, if nothing other set becomes, a Standartgröße of 32KB.
The following should remedy create:
CompileMarkSeparation
WINDOWSTYLE 31+512
WINDOWTITLE "RichEdit"
WINDOW 0,0-640,440
Declare RichEdit&,DLL_HDL&
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)

whilenot %MENUITEM=-2

    WAITINPUT

wend

@DESTROYWINDOW(RichEdit&)
FREED
DLL_HDL&

another Tipp...
look you times the File WINDOWS.PH in the Profanverzeichnis in the Ordner INCLUDES on . Search time to WS_VISIBLE and the individual ? Happen?. falls you what on?
thereafter reputation still once The File RichEdit.PH on. Search there time to cchTextLimitDefault.
falls you there what on? what standing something moreover under??
now Search time to + 53, call thereafter The File MESSAGES.PH on and Search here to WM_USER.
...if You my Tipps understood have, can you now discretionary Own Controls create. important for are but a couple Englischkenntnisse - six-year secondary school reicht fat from...
 
10/18/04  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.635 Views

Untitledvor 0 min.
Michael Hettner08/30/21
RudiB.08/18/21
Peter Max Müller11/13/17
Wilfried06/02/16
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