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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make a Rich Edit ??? Non MFC

Status
Not open for further replies.

GOOOD

Programmer
Nov 9, 2001
4
DK
Hi,

I would be very happy if some of you great programmers could help me whit this little problem ?
I have tryed to make a Rich Edit on the following way:

#include <RICHEDIT.h>

HWND RICH_EDIT;
#define ID_RICHEDIT 3

LoadLibrary(&quot;RichEd32.Dll&quot;);

RICH_EDIT = CreateWindow(&quot;RICHEDIT&quot;,&quot;&quot;,ES_AUTOHSCROLL |
ES_AUTOVSCROLL |
ES_DISABLENOSCROLL |
ES_MULTILINE |
ES_NOHIDESEL |
ES_SAVESEL |
ES_SELECTIONBAR |
ES_SUNKEN |
WS_BORDER |
WS_CHILD |
WS_CLIPCHILDREN |
WS_HSCROLL |
WS_VISIBLE |
WS_VSCROLL , 10,50,50,50,hwnd,(HMENU)ID_RICHEDIT,g_hInst,0);

When I compile my program It creates all my other controls but not the rich edit, and if I write &quot;EDIT&quot; insteadt of &quot;RICHEDIT&quot;, then there are showed an EDIT box ???
How Can I get a RICH EDIT ???

Please Help ME!!!
GOOOD

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top