Results 1 to 3 of 3

Thread: RichEdit API?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    Indiana
    Posts
    73

    RichEdit API?

    Any clue whats wrong with this?
    PHP Code:
    CreateWindow("RichEdit20A"""WS_CHILD WS_VISIBLE WS_HSCROLL WS_VSCROLL ES_MULTILINE ES_WANTRETURN00100100hwnd, (HMENUIDC_MAIN_TEXThInstanceNULL); 
    All I get is my normal grey window!

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    What is RIchEdit20A.

    Use RichEdit or RICHEDIT_CLASS as the class name.
    RichEdit

    Designates a Rich Edit version 1.0 control. This window lets the user view and edit text with character and paragraph formatting, and can include embedded COM objects. For more information, see Rich Edit Controls.
    For a table of the rich edit control styles you can specify in the dwStyle parameter, see Rich Edit Control Styles.

    RICHEDIT_CLASS

    Designates a Rich Edit version 2.0 control. This controls let the user view and edit text with character and paragraph formatting, and can include embedded COM objects. For more information, see Rich Edit Controls.
    For a table of the rich edit control styles you can specify in the dwStyle parameter, see Rich Edit Control Styles.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3
    Megatron
    Guest
    Vlatko, RICHEDIT_CLASS is just a constant which holds the value of "RichEdit20A."

    TadaTensai: It works fine for me. Did you remember to include the richedit.h header file?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width