Announcement

Collapse
No announcement yet.

RTF made easy for RichEdit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RTF made easy for RichEdit

    I am working on a wrapper for RichEdit, to make RTF coding easier for use. (I for one can never remember all the commands since I do not use RTF all the time).

    One thing I can not seem to find is how to add a picture to the RichEdit without resorting to COM interface to put a picture in.

    Does anyone know how to put a picture in RichEdit without using COM???
    Engineer's Motto: If it aint broke take it apart and fix it

    "If at 1st you don't succeed... call it version 1.0"

    "Half of Programming is coding"....."The other 90% is DEBUGGING"

    "Document my code????" .... "WHYYY??? do you think they call it CODE? "

  • #2
    You cannot..

    Gosh, wasn't there a crash ever which made you decide to abandon com for this control?
    hellobasic

    Comment


    • #3
      I thought that, but I KNOW I posted before, but could not find my post to revisit.

      Close to posting, but wanted to be as complete as possible sort of thing
      Engineer's Motto: If it aint broke take it apart and fix it

      "If at 1st you don't succeed... call it version 1.0"

      "Half of Programming is coding"....."The other 90% is DEBUGGING"

      "Document my code????" .... "WHYYY??? do you think they call it CODE? "

      Comment


      • #4
        Rtf made easy for RichEdit

        Well I got things together and posted in the source-code forum at http://www.powerbasic.com/support/pb...122#post306122

        Still no images embedding as I do not understand COM enough yet. But learning (if this is truly the only way to add a pic, and not just the only way because no one is willing to say they have done it without COM)

        Any Questions, Comments, and especially suggestions for improving my wrapper just let me know.

        Hopefully useful to someone out there
        Engineer's Motto: If it aint broke take it apart and fix it

        "If at 1st you don't succeed... call it version 1.0"

        "Half of Programming is coding"....."The other 90% is DEBUGGING"

        "Document my code????" .... "WHYYY??? do you think they call it CODE? "

        Comment


        • #5
          But learning (if this is truly the only way to add a pic, and not just the only way because no one is willing to say they have done it without COM)
          Just as a thought... maybe you can do it using the Microsoft Word COM interface? That's the only software I've ever been able to use to add pictures to rich text. (Lotus fails miserably and WordPad doesn't do much at all, period). By this I mean "menu and toolbar selection whilst running MS-Word", not programmatically.
          Michael Mattias
          Tal Systems (retired)
          Port Washington WI USA
          [email protected]
          http://www.talsystems.com

          Comment


          • #6
            Nick Melnick and Borje did it using OLE (but that's kinda COM isn't it?)

            User to user discussions about the PB/Win (formerly PB/DLL) product line. Discussion topics include PowerBASIC Forms, PowerGEN and PowerTree for Windows.


            Rgds, Dave

            Comment


            • #7
              >Well I got things together and posted in the source-code forum ....

              Oops, forgot: Good for you and much appreciated. Thank you.
              Michael Mattias
              Tal Systems (retired)
              Port Washington WI USA
              [email protected]
              http://www.talsystems.com

              Comment

              Working...
              X