Hey guys.
I use InstallOptions to create a custom page with a multiline text window to show some text. The text shouldn't be editable. A thing that makes me filling unlucky is that the text appears on a light-gray background when I set it read-only - both with setting the READONLY flag in the ini as well as with sending EM_SETREADONLY in runtime.
How to get an edit read-only but on a white background? Really need that (besides, it's default) behavior!
Thanks in advance!
Avoiding background graying in a read-only text field
6 posts
No, as far as I know that is the default behaviour. You may be thinking of rich text controls which are different.
Stu
Stu
Originally posted by Afrow UKI tried to send EM_SETREADONLY to an edit (I used Delphi and its TMemo), and it got read-only without getting grayed...
No, as far as I know that is the default behaviour. You may be thinking of rich text controls which are different.
Afrow UK , thanks, you're absolutelly right, that's the default behaviour. Delphi just has some non-default behavior on this.
Anyway, I'm still looking for a solution for the problem - how to make a read-only text field with a white background...
Anyway, I'm still looking for a solution for the problem - how to make a read-only text field with a white background...
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
At first they are talking about the MUI add-on, but in the end they explain how to do it for Installoptions as well (it's actually the same, but other macro'names)
jpderuiter, Afrow UK, thanks a lot, that really works! Shame on me for missing that topic.