Edit text in black

A place where plug-in developers can share their knowledge and experience.
Post Reply
pepak
Posts: 330
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Edit text in black

Post by pepak » Fri 28 Jul, 2017 11:36

Hi! Is it possible to programatically change an inactive Edit's (DI_EDIT) text (DM_SETTEXT) without graying it (marking it as "unchanged by the user")? This is what I want to get (the three edits at the bottom):


And this is what I actually get:



The first image is actually a result of running a dialog with DI_EDIT's flags set to DIF_EDITOR | DIF_READONLY. The second image is a result of a simple DM_SETTEXT.

Thanks.
Last edited by pepak on Fri 28 Jul, 2017 11:38, edited 2 times in total.

Post Reply

Return to “Plug-In Developers”