πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8295

Re: defining rich edit controls in .rc file

#8295
From: Evariste HORNECKER
Date: Wed, 10 Nov 2004 15:26
29 lines
2079 bytes
Example (with written with Visual C++) Dialog with one Rich Edit 2.0 control 
(class name "RichEdit20A" ).
I hope it will work with C++ Builder

IDD_DIALOG DIALOGEX 0, 0, 162, 155
STYLE DS_SETFONT | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN
EXSTYLE WS_EX_STATICEDGE
FONT 8, "Arial", 700, 0, 0x0
BEGIN
    CONTROL "",IDC_RICHEDIT21,"RichEdit20A",ES_AUTOHSCROLL |  WS_BORDER | 
WS_TABSTOP,51,49,83,83
END

"Charles Rogers" <spamitup@spammer.com> a οΏ½crit dans le message de news: 
41920261@newsgroups.borland.com...
>I want to put some rich edit controls in dialogs.  For my main application 
>window, I use the CreateWindow function with RICHEDIT_CLASS (v2 and up of 
>rich edit, I'm actually using v3).
>
> I'm using command line tools, so for dialogs, I write the .rc file myself. 
> If you know the syntax for a rich edit control in an .rc file, or if you 
> have a visual resource editor and can easily generate an .rc file with a 
> rich edit control...
>
> What is the syntax for defining a rich edit control in an .rc file?
>
> Thanks,
>   Chas
> 
Technical Details
Message-ID: <4192332b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41920261@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,505c3d230d41c259
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Evariste HORNECKER" <evariste.horneckerSTOPTHESPAM@neosys.fr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41920261@newsgroups.borland.com>
Subject: Re: defining rich edit controls in .rc file
Date: Wed, 10 Nov 2004 16:26:24 +0100
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 81.53.193.101
Message-ID: <4192332b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100100395 81.53.193.101 (10 Nov 2004 07:26:35 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail