Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

KurtSerge

RICH EDIT(NOOO MFC)

This topic is 5753 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!