Developer

API Reference

IWidget_SetReadOnlyMode()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IWidget IWidget_GetReadOnlyMode
Description
A convenience inline function for setting PROP_READONLY with IWidget_SetProperty(). If readonly mode is set, widget will not handle any key event, and it will not draw the selection field.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget object. bReadOnly [in] boolean value indicating the readonly mode to set.
Interface
Prototype
   int IWidget_SetReadOnlyMode(IWidget *pif, boolean bReadOnly);
Return
AEE_SUCCESS : The widget handled the PROP_READONLY property. AEE_EFAILED : Otherwise.
Side Effect
None
Comment
None
  • Follow