Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rich Edit 2.0 Control

Status
Not open for further replies.

Skute

Programmer
Joined
Jul 21, 2003
Messages
272
Location
GB
Hi,

does anyone know of any good tutorials for using the Rich Edit control?

Im writing a dialog based app and have tried just dragging a Rich Edit control onto the dialog, but the call to DialogBox() fails and the last error is "Cannot find window class"

??
 
Are you calling AfxInitRichEdit before creating the Dialog?

-pete
 
no im not using MFC, i worked out what the problem was,

i needed to call LoadLibrary("riched20.dll") and FreeLibrary()

cheers
 
Yeah that would do it.

>> no im not using MFC

You might consider making future questions more complete in regards to your environment. If you don’t state something like that many people will assume you are using MFC due to the nature of the forum. The Tek-Tips Crystal Ball has not yet been implemented. [lol]


-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top