title: How can I get the 'read-only' property of a win32 edit box?
body: <p>friends
  How can I get the 'read-only' property of a win32 edit box ?</p>
  
  <p>And I know how to set the property. code like this.
  <code>        </p>
  
  <p>SendDlgItemMessage(g_hwnd, IDC_EDIT_1, EM_SETREADONLY, 1, 0);</p>
  
  <p></code>
  But how can I know this edit control has the 'read-only' property ?
  I mean not MFC\CWND or some how, just win32 method, like SendMessage api.</p>
  
  <p>Thanks in advance~</p>