RichEditD2D inserts everything with alpha
maj soklič
0
Reputation points
When using Richedit20W and switching it to D2D with
SendMessage(hRichEdit, EM_SWITCHTOD2D, 0, 0);
and using
int backdrop = 3;
DwmSetWindowAttribute(hwnd, DWMWA_SYSTEMBACKDROP_TYPE, &backdrop, sizeof(backdrop));
MARGINS margins = { -1 };
DwmExtendFrameIntoClientArea(hwnd, &margins);
Both text and images are inserted with transparency, unlike with Richedit20W and 50" where D2D mode isn't enabled;
Non Direct2D:
Windows for business | Windows Client for IT Pros | User experience | Other
Sign in to answer