Thread: Rich edit control example Win API

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    39

    Red face Rich edit control example Win API

    Can anyone direct me to a working example of a rich edit control using Windows API (I had no trouble getting an edit control to work properly). I have found several working rich edit control examples using MFC, which I know even less about, but none using API.

    I am very new to Window programming and feel more comfortable working with API.

    Any information offered will be greatly appreciated

    Thanks

  2. #2
    Registered User Ward's Avatar
    Join Date
    Sep 2001
    Location
    Belgium
    Posts
    39
    As far as I know, a richedit can only be used with MFC.

    What you can do is create a regular DLL with MFC statically linked.

    You can create the richedit in this DLL and export some functions to your exe to handle the richedit control.

    I've done creating a COM object, but it should work perfectly using an ordinary DLL that supports MFC (this does not mean you should work according the MFC technology).

    Greetings, Ward

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Change cursor on single edit control
    By Niara in forum Windows Programming
    Replies: 3
    Last Post: 01-11-2009, 09:52 AM
  2. edit control text buffer
    By scurvydog in forum Windows Programming
    Replies: 4
    Last Post: 12-11-2008, 10:13 AM
  3. (Multiline) Edit Control Limit
    By P4R4N01D in forum Windows Programming
    Replies: 9
    Last Post: 05-17-2008, 11:56 AM
  4. API and Rich edit control
    By LuckY in forum Windows Programming
    Replies: 2
    Last Post: 05-01-2003, 09:01 PM
  5. Controlling an edit control
    By master5001 in forum Windows Programming
    Replies: 2
    Last Post: 10-16-2001, 03:08 PM