'[NAME] FF_Control_Enable_ReadOnly
'[AUTHORNAME] 
'[EMAIL] 
'[WEBSITE] 
'[VERSION] 
'[ISFAVORITE] No
'[EXPAND] No
'[KEYWORDS] 
'enable
'[/KEYWORDS]
'[DESCRIPTION] 
'   Enables a Control or Form so that it can receive messages or 
'   accept user interaction.
'
'   hWndControl: Handle of Control or Form (e.g. HWND_FORM1_COMMAND1)
'
'[/DESCRIPTION]
'[CODESTART]
Sub FF_Control_Enable_ReadOnly ( ByVal hWndControl As Dword ) 
    ' Do a check to ensure that this is actually a window handle
    If IsWindow(hWndControl) Then  
       
       ' Enable the window READONLY property.
        SendMessage hWndControl, %EM_SETREADONLY, %TRUE, 0     ' to turn Read Only Property On
       
    End If
End Sub

