Index   Commented   Search   About

IE_SETDRAWOPTS

Sets the ink drawing option.

Parameters

wParam

Contains the drawing option.

Constant
Description
IEDO_FAST
Drawing is done as fast as possible. This is the default setting.
IEDO_NONE
No drawing is done (disabled drawing).
IEDO_SAVEUPSTROKES
Save pen-up strokes in the HPENDATA object.

lParam

Not used; must be 0.

Return Value

Returns IER_OK if successful; the previous draw option is returned in the high-order word; otherwise, returns one of the following:

Constant
Description
IER_PARAMERR
wParam or lParam is invalid.
IER_OWNERDRAW
The control is an owner-draw control; setting draw options is invalid.
IER_SECURITY
The control has security protection disallowing the operation.

Comments

Unlike using the WM_SETREDRAW message, IEDO_NONE controls only the drawing of the ink. The control's background, grid lines, and so forth are redrawn as usual. By default, pen-up strokes are not saved in the HPENDATA object.

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