API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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
Comments
None