Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Rich Edit 2.0 Control can not work in Dialog?
I create a project (base dialog)  just use the mouse ,It can work if I  do
not add "
Rich Edit 2.0 Control".
and the dialog diappeard after I add it.

why???I can not use "Rich Edit 2.0 Control"
??
other control works OK.



Report this thread to moderator Post Follow-up to this message
Old Post
zhang
04-12-08 09:50 AM


Re: Rich Edit 2.0 Control can not work in Dialog?
>I create a project (base dialog)  just use the mouse ,It can work if I  do
>not add "
>Rich Edit 2.0 Control".
>and the dialog diappeard after I add it.
>
>why???I can not use "Rich Edit 2.0 Control"

If you have an MFC application, you need to call AfxInitRichEdit2().

Dave

Report this thread to moderator Post Follow-up to this message
Old Post
David Lowndes
04-12-08 09:50 AM


Re: Rich Edit 2.0 Control can not work in Dialog?
"zhang" <makefriend8@163.com> wrote in message
news:#hbiaIHnIHA.5260@TK2MSFTNGP03.phx.gbl...
> I create a project (base dialog)  just use the mouse ,It can work if I  do
> not add "
> Rich Edit 2.0 Control".
> and the dialog diappeard after I add it.
>
> why???I can not use "Rich Edit 2.0 Control"


If it's not an MFC app, then the docs state:

"It is necessary to call the LoadLibrary function to load Riched32.dll or
Riched20.dll before the dialog is created."

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++


> ??
> other control works OK.
>

Report this thread to moderator Post Follow-up to this message
Old Post
Mark Salsbery [MVP]
04-13-08 12:27 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

VC++ archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:01 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.