English
Forum

MultiEdit and automatischer Line break

 

Thomas
Freier
find simply no Solution for a automatischen Line break at MultiEdit. knows of you of/ one a?
 $H windows.ph
 $H structs.ph
 $H messages.ph
 $H RichEdit.ph
cls
var a$="MMMMMMMMM NNNNNNNNNNNNN HHHHHHHHHHHHH GGGGGGGGGGGGGGG VVVVVVVV"
Var R_Fuss& = @Create("RichEdit", %hwnd ,"" ,0,0,0,0)
Settext R_Fuss&,a$
Var R_Kopf& = @Create("MultiEdit", %hwnd ,"" ,0,0,0,0)
Settext R_Kopf&,a$
SetWindowPos R_Fuss& = 10,60 - 400,120
SendMessage(R_Fuss&,~EM_SETTARGETDEVICE,0,0)
SetWindowPos R_Kopf& = 10,200 - 400,120
SendMessage(R_Kopf&,~EM_SETTARGETDEVICE,0,0)' goes naturally not

While 1

    Waitinput

EndWhile

End
 
Gruß Thomas
Windows XP SP2, XProfan X2
11/16/11  
 




Jörg
Sellmeyer
i know Yes not, why you The Edits first with Size zero erstellst but What is herewith?

Profan-Help
becomes Y2 as negativer worth indicated, so becomes of course nevertheless the absolute worth as Size taken, but at the same time The automatic Wortumbruch-function activate:
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/17/11  
 




RGH
and Why make You not simply as it in the Help standing?

here you are:

Helpfile
becomes Y2 as negativer worth indicated, so becomes of course nevertheless the absolute worth as Size taken, but at the same time The automatic Wortumbruch-function activate: The horizontale Scroll bar won't displayed and a word, not More in a row fits becomes automatically into next row brought.


the functions correct:
cls
var a$="MMMMMMMMM NNNNNNNNNNNNN HHHHHHHHHHHHH GGGGGGGGGGGGGGG VVVVVVVV"
Var R_Fuss& = @Create("RichEdit", %hwnd ,"" ,10,60,400,-120)
Settext R_Fuss&,a$
Var R_Kopf& = @Create("MultiEdit", %hwnd ,"" ,10,200,400,-120)
Settext R_Kopf&,a$

While 1

    Waitinput

EndWhile

End

Greeting
Roland

Verd....! Jörg was faster!
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
11/17/11  
 




Thomas
Freier
because I in the Window a GridBOX have, The becomes minimizes , if z.B. the Fußzeilentext machine becomes. in the Freiraum should The Editbox. is The edit exits, comes The GridBOX again on filled Size. want no zusätzliches dialog-Window or the window share.
The Text the Editbox becomes later at Print used with the automatischen and erzwungenen Zeilenumbrüchen.
 
Gruß Thomas
Windows XP SP2, XProfan X2
11/17/11  
 




Jörg
Sellmeyer
then create the Edit still first so:
Var R_Kopf& = @Create("MultiEdit", %hwnd ,"" ,10,200 , 0,-120)

SetWindowPos has on the automatischen Umbruch none influence.
Also could You still too ShowWindow() use, or?


Verd....! Jörg was faster!

Hehe...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/17/11  
 



[OFFTOPIC]
or heavy kewl enhanced:
or.
cls
long r_kopf=createMultiEdit(hWnd,"",,,,-1)
setWindowPos r_kopf,10,10,100,100
setText r_kopf,"Nihil novi sub sole"
waitinput
end



^^
[/OFFTOPIC]

 
11/17/11  
 




Thomas
Freier
thanks for suggestions. In Jörgs direction I had already tested. but:
Var R_vor& =Create("MultiEdit",dlg&, "",0,0,0 ,-0)
went not. however:
Var R_vor& =Create("MultiEdit",dlg&, "",0,0,0 ,-1)
 
Gruß Thomas
Windows XP SP2, XProfan X2
11/17/11  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.266 Views

Untitledvor 0 min.
Walter12/26/22
Member 554186205/19/22
Erasmus.Herold01/12/22
Christof Neuß10/30/19
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