Rich edit control example Win API

This is a discussion on Rich edit control example Win API within the Windows Programming forums, part of the Platform Specific Boards category; Can anyone direct me to a working example of a rich edit control using Windows API (I had no trouble ...

  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, 12:56 PM
  4. API and Rich edit control
    By LuckY in forum Windows Programming
    Replies: 2
    Last Post: 05-01-2003, 10:01 PM
  5. Controlling an edit control
    By master5001 in forum Windows Programming
    Replies: 2
    Last Post: 10-16-2001, 04:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21