English
Opportunities and suggestions

wish: New RichEdit

 

Uwe
''Pascal''
Niemeier
Hi Roland!

i'm recently noticed, the Profans Create("RichEdit"...) 
one Control the "alten" class RICHEDIT anlegt instead of the newer Richedit20A To use:
CompileMarkSeparation
window 400,400
var a&=create("RichEdit",%hwnd,"",10,30,200,50)
settext a&,classof(a&)
sendmessage(a&,1087,0,1)--EM_HIDESELECTION => none
sendmessage(a&,177,0,-1)--EM_SETSEL => alles markieren
var b&=control("RichEdit20A","",getstyle(a&),10,120,200,50,%hwnd,1,0)
settext b&,classof(b&)
sendmessage(b&,1087,0,1)--EM_HIDESELECTION => none
sendmessage(b&,177,0,-1)--EM_SETSEL => alles markieren

while 1

    waitinput
    beep

04/05/10  
 




Uwe
''Pascal''
Niemeier
* in memory *

is this feature to Kompatiblität really yet necessary?

SeeYou
Pascal
 
09/25/10  
 




RGH
Hello Pascal,
in the next (presumably present) Subscriptionsversion can instead of the initialen Textes (whom eh' hardly someone brauchtr and uses) one mode indicated go:
mode 0 = old Version ("RICHEDIT" )
mode 1 = new Version ("RICHEDIT20A" )
becomes How yet one initialer Text indicated, becomes automatically mode 0 chosen.

Please test times!

(former I had it time so arranged, that RICHEDIT20A uses watts if The zugehörige RICHED20.DLL found watts, ansonstenm the RIOCHEDIT from the RICHED32.DLL. from one unfortunately forgotten reason I had whom Codeteil for the newer RichEdit since some versions auskommentiert.

Greeting
Roland
 
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
09/29/10  
 




Uwe
''Pascal''
Niemeier
Hi Roland!

The Vollständigkeit halber should You too whom type RichEdit50W (RichEdit 4.1) to permit:
CompileMarkSeparation
window 500,300
var Edit1&=create("RichEdit",%hwnd,1,10,10,200,200)'--RichEdit20A
settext Edit1&,classof(Edit1&)
var dll&=usedll("Msftedit.dll")
var Edit2&=control("RichEdit50W","",getstyle(Edit1&,0),220,10,200,200,%hwnd,1234,0,getstyle(Edit1&,1))
settext Edit2&,classof(Edit2&)

while 1

    waitinput

e
e

Wozu to the need can or. where The advantages lying white so did i not yet, but one can Yes never know...

BTW: if The jeweilige Version unavailable is ought to Perhaps a suitable warning erfolgen.

SeeYou
Pascal
 
10/30/10  
 




RGH
OK, with mode 2 get one ex the next Release-Kandidaten, if present, the RichEdit50W, otherwise goes the Fallback over RichEdit20A to that middle-aged RichEdit.
an warning would like I really not spend, I z.B. in final Programmcode The Warnungen eingeschaltet let and then the User älterer Windowsversionen "grundlose" Warnungen sustain. it standing Yes the Programmer spare, by ClassOf() To to check on, which Version now present is.

Greeting
Roland
 
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
10/30/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.382 Views

Untitledvor 0 min.
Sven Bader11/18/23
Andreas Koch06/05/19
Andre Rohland09/05/18
Uwe Lang01/16/18
More...

Themeninformationen

this Topic has 2 subscriber:

Uwe ''Pascal'' Niemeier (3x)
RGH (2x)


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