C++ WIN32 - Load RTF Data to Rich Edit Control
问题 I try to load text (formatting in RTF ) to my rich text control but it doesn't work. I've even tried to use WriteFile((HANDLE)dwCookie, myBuff, cb, (DWORD*)pcb, NULL); instead of *pcb = rtf->readsome((char*)pbBuff, cb); void CreateRichEdit(HWND hwndOwner, int x, int y, int width, int height, HINSTANCE hinst) { LoadLibrary(TEXT("Msftedit.dll")); edittext = CreateWindowEx(0, TEXT("RICHEDIT50W"), TEXT("Type here"), ES_MULTILINE | WS_VISIBLE | WS_CHILD | WS_BORDER | WS_TABSTOP | ES_AUTOVSCROLL |