Newsgroups: comp.windows.ms.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!memetral
From: memetral@athena.mit.edu (Max E. Metral)
Subject: EM_SETMODIFY
Message-ID: <1991Jun24.210619.13889@athena.mit.edu>
Sender: news@athena.mit.edu (News system)
Organization: Massachusetts Institute of Technology
Distribution: usa
Date: Mon, 24 Jun 91 21:06:19 GMT
Lines: 17

I am trying to make an edit control read-only.

The parent window is Parent, and the control is EDITCNT.

	SendMessage(EDITCNT, EM_SETMODIFY, FALSE, NULL);
	
	or
	
	SendMessage(Parent, EM_SETMODIFY, FALSE, NULL);

don't work.  What am I doing wrong?  The SDK man never says what value I should
set the flag to to make it read-only...

Thx.
--==<Max Metral>==--


