Yes, you can get the internal HDC used by CD with:

HDC hDC = (HDC)cdCanvasGetAttribute(canvas, "HDC");

Best,
Scuri


Em sex., 11 de jun. de 2021 às 22:36, Isaac Raway <[email protected]> escreveu:

> I have a canvas that is drawn using CD. I need to use Win32 TextServices
> to render RTF to the canvas as well in order to display formatted text.
> This requires a Win32 HDC handle -- is it possible to create one for a
> cdCanvas?
>
> Thanks!
>
> IJR
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to