Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Read-only edit box

michael_green
Beginner
381 Views

Hi All,

How do I create a read-only edit box with CreateWindowEx? Using the WS_DISABLED style works, but the text displayed is grayed, whereas with an edit box created using the IDE there is a choice of disabled or read-only, and with the latter the text is nice and black - which is what I want. I'm using CVF 6.6c.

With many thanks in advance,

Mike

0 Kudos
1 Reply
ggveldkamp2
Novice
381 Views
You can use the ES_READONLY window style.
0 Kudos
Reply