|
-
Aug 30th, 2001, 07:40 PM
#1
Thread Starter
Lively Member
RichEdit API?
Any clue whats wrong with this?
PHP Code:
CreateWindow("RichEdit20A", "", WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL | ES_MULTILINE | ES_WANTRETURN, 0, 0, 100, 100, hwnd, (HMENU) IDC_MAIN_TEXT, hInstance, NULL);
All I get is my normal grey window!
-
Aug 31st, 2001, 03:14 AM
#2
Frenzied Member
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.
-
Aug 31st, 2001, 08:25 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|