I have allready googled it, shearched it here on this board, looked in my books, and yet to no prevail! :mad: So this is my last hope: How do you create a rich edit box window? :(
Thanks. :)
Printable View
I have allready googled it, shearched it here on this board, looked in my books, and yet to no prevail! :mad: So this is my last hope: How do you create a rich edit box window? :(
Thanks. :)
Did you look here.
Try:
Code://...
//call once
if(!LoadLibrary("riched20.dll")) //newest ver is msftedit.dll
MessageBox(NULL,"Could not load riched20.dll!","Error!",MB_OK|MB_ICONEXCLAMATION);
//...
HWND riched = CreateWindowEx(0,
RICHEDIT_CLASS,
"",
WS_CHILD|WS_VISIBLE|WS_VSCROLL|WS_HSCROLL|
ES_MULTILINE|ES_AUTOHSCROLL,
5,
35,
GetSystemMetrics(SM_CXSCREEN)/2,
GetSystemMetrics(SM_CYSCREEN)-235,
hwnd,NULL,hinst,0);
//...
Thanks, I got it now.