MFC Static Control Using Direct2D and DirectWrite (updated)

I have update the MFC static control presented in the previous articles by adding methods for setting text range color, typography and inline images.

Code samples

Setting text range color

Setting text range typography

Setting inline images

Demo application

Download: DirectWrite Static Control (updated).zip (972)

MFC DirectWrite Static Control

MFC DirectWrite Static Control

Resources

See also

3 thoughts on “MFC Static Control Using Direct2D and DirectWrite (updated)

  1. Chen, Zhendong

    Is AFX_WM_RECREATED2DRESOURCES handler really neccesary in any circumstances? It wasn’t mentioned in your MFC Direct2d tutorial.

    Reply

Leave a Reply