Subclassed RichEdit ignoring input.

Tech-Archive recommends: Speed Up your PC by fixing your registry



This is probably fundamental and I'm sure I'm missing something simple.

I have used MSVC (6) to create a control based on the RichEdit control.
I've changed a couple of lines to use RichEdit20A instead;

Catt4c() :
m_ctlRichEdit(_T("RichEdit20A"), this, 1) //RichEdit20A

and (in OnCreate)

m_hLibRichEdit = LoadLibrary(_T("RICHED20.DLL"));


When I run up my test web page I can see the control, the cursor is
blinking, but I can not type anything into it. But it will respond to
paste commands and deletion.

Can anyone tell me where I have (or VC has) gone wrong, or point me the
direction of some useful material?

.



Relevant Pages

  • Re: how to use Richtext.ocx from a vbs ?
    ... Noel, you might try wordpad, which is nothing more than a ... to all the capabilities of the richedit control. ... If you are looking for a wrapper for the richedit control ...
    (microsoft.public.scripting.vbscript)
  • RichEdit ctrl context menu
    ... Due to the missing context menu of a RichEdit control, ... WORD seltype, LPOLEOBJECT lpoleobj, CHARRANGE* lpchrg, ...
    (microsoft.public.vc.language)
  • Re: Overriding Paint in a RichEditCtrl
    ... The problem with setting a color in the RichEdit control is that the setting ... of the color ends up in the Undo list. ... > An XML file is just a plain text file to start with, ...
    (microsoft.public.win32.programmer.ui)
  • Re: Get RichEdit Control
    ... If you have a control on the form, you use GetParentWindow to find the ... then enumerate until you find a window with Window ... > I would like to get the HWND of the richedit control of the Message ...
    (microsoft.public.win32.programmer.messaging)
  • Keyboard Accellerators For CContainedWindow
    ... I've created an ATL ActiveX control based on the RichEdit windows ... or paste in the RichEdit control (which is a member of the ... ActiveX control of type CContainedWindow) that these messages would be ...
    (microsoft.public.vc.atl)