- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use the ES_READONLY window style.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page