RICH EDIT(NOOO MFC)

Started by
3 comments, last by iwasbiggs 21 years, 5 months ago
OK. I''m trying to put rich edit controls in a dlg box. For some reason the dlg box wont show up when have RE''s in it. I use InitCommonControlsEx(INITCOMMONCONTROLSEX icc) function to init it. what flag do i need for INITCOMMONCONTROLSEX icc.dwICC to make RC''s work? What am i doing wrong? i need help
My site(under construction but still viewable)http://www.geocities.com/habitat14222/home.html
Advertisement
Hi

you have to load the richedit dll manually to get it to work. use this code before trying to create the richedit:
LoadLibrary ( "RICHED32.DLL" );


Runicsoft -- home of my open source Function Parser and more
this is strange since LoadLibrary is a common win32 api function from windows.h

can it be that you are using mfc, atl, .net or something?
if this is the case then try calling it as win32 api function ( ::LoadLibrary(...) )

if this doesnt work then i guess there''s something very wrong with your include files






Runicsoft -- home of my open source Function Parser and more
It''s been a long time since I used MFC, so this could be wrong, but have a look at AfxInitRichEdit().
What version of RichEdit do you want to use?

Also make sure you explicitly include windows.h

___________________________
Freeware development:
ruinedsoft.com
___________________________Freeware development:ruinedsoft.com

This topic is closed to new replies.

Advertisement