Index   Commented   Search   About

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

IE_SETBKGND, IE_GETGRIDPEN, IE_SETGRIDPEN

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun