# Windows TextArea.DrawInto not working

**URL:** <https://ifnotnil.com/t/windows-textarea-drawinto-not-working/578>\
**Category:** General Programming\
**Created:** [5 June 2020 21:34 UTC](https://ifnotnil.com/t/windows-textarea-drawinto-not-working/578 "2020-06-05T21:34:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkusWinter](https://ifnotnil.com/user_avatar/ifnotnil.com/markuswinter/32/32_2.png) [@MarkusWinter](https://ifnotnil.com/u/MarkusWinter)\
**Post date:** [5 June 2020 21:34 UTC](https://ifnotnil.com/t/windows-textarea-drawinto-not-working/578/1 "2020-06-05T21:34:18Z")

</div>

See [https://forum.xojo.com/20622-windows-textarea-drawinto-does-not-work-with-styled-text](https://forum.xojo.com/20622-windows-textarea-drawinto-does-not-work-with-styled-text)

Anyone got an idea?

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [5 June 2020 22:06 UTC](https://ifnotnil.com/t/windows-textarea-drawinto-not-working/578/2 "2020-06-05T22:06:48Z")

</div>

Styled text probably died when they switched from GDI to D2D  
Windows having as many possible API’s for doing this is part of the issue as Xojo needs to use some to get nice high quality drawing in some places but cant use them in others  
Its a mess and not entirely in Xojo’s control

There really isnt a nice alternative for DrawInto for styled text AFAICT short of screwing around and making your own which is a pile of work
