Brew MP 1.0.2
This function set the flags that manage the layout attributes of an image static
widget. Normally, an image static widget is displayed with the image on the left
and the label on the right. However, this layout can be reversed by changing the
widget's layout flags. The image static widget recognizes a small set of layout
flags, as follows.
IDF_ALIGN_LEFT - Layout the widget with the image on the left and the label on
IDF_ALIGN_RIGHT - Layout the widget with the label on the left and the image on
[in] Pointer to the image static widget object.
[in] A 32-bit integer indicating how the image and label should be displayed.
The image static widget recognizes only a pair of flags, IDF_ALIGN_LEFT
and IDF_ALIGN_RIGHT, each of which are used to control the left/right
relationship between the image and label.
int IWidget_SetImageStaticFlags(IWidget *pif, uint32 dwFlags)
AEE_SUCCESS - If BREW was able to successfully set the layout of the image and label
widgets as desired.
AEE_EFAILED - If the requested layout could not be set, or if flags other than
IDF_ALIGN_LEFT or IDF_ALIGN_RIGHT were specified in the call.
Calling IWidget_SetImageStaticFlags() will cause the image static widget to be redrawn
with the specified layout flags.