IE_GETBKGND
Retrieves the
current background painting options of an ink edit control.
Parameters
wParam
Not used;
must be 0.
lParam
Address of a
WORD variable that receives the current background options, as given in the
following list:
Constant |
Description |
IEB_BIT_CENTER |
Center
supplied bitmap in control. |
IEB_BIT_STRETCH |
Stretch
bitmap to fit control. |
IEB_BIT_TILE |
Tile
supplied bitmap repeatedly in control. |
IEB_BIT_UL |
Align
supplied bitmap to upper-left corner in the control. (UL stands for upper left. ) |
IEB_BRUSH |
Use
application-supplied brush in lParam. |
IEB_DEFAULT |
Do default
background (use COLOR_WINDOW). |
IEB_OWNERDRAW |
Parent will
draw background. |
Return Value
If successful,
returns a handle to the background bitmap or a brush, or NULL, according to the
option specified in lParam; otherwise, returns IER_PARAMERR to indicate
that wParam or lParam is invalid.
Comments
The returned
handle is owned by the iedit control; the application should not delete it. If
the application needs to preserve this information, it should copy the handle.
See Also