CTLINITIEDIT 

2.0     

Specifies the initial settings and options of an ink edit (iedit) control. A pointer to this structure is passed to the parent window of the control as the lParam parameter of the WM_CTLINIT message. This forms the last step of the control s processing of the WM_CREATE message.

typedef struct { 

     DWORD cbSize;

     HWND hwnd;

     int id;

     WORD ieb;

     WORD iedo;

     WORD iei;

     WORD ien;

     WORD ierec;

     WORD ies;

     WORD iesec;

     HPENDATA hpndt;

     WORD pdts;

     HGDIOBJ hgdiobj;

     HPEN hpenGrid;

     POINT ptOrgGrid;

     WORD wVGrid;

     WORD wHGrid;

     DWORD dwApp;

     DWORD dwReserved;

} CTLINITIEDIT;

 

Members

cbSize

Size of this structure in bytes.

hwnd

Handle to an ink edit window.

id

Control identifier.

ieb

Background IEB_ bit values (see IE_SETBKGND).

iedo

Draw options IEDO_ bit values (see IE_SETDRAWOPTS).

iei

Ink input IEI_ bit values (see IE_SETINKINPUT).

ien

Notification IEN_ bit values (see IE_SETNOTIFY).

ierec

Recognition IEREC_ bit values (see IE_SETRECOG).

ies

Style IES_ bit values (see IE_GETSTYLE).

iesec

Security IESEC_ bit values (see IE_SETSECURITY).

hpndt

Initial pen data.

pdts

Initial map mode.

hgdiobj

Brush or bitmap, depending on background bits option in ieb.

hpenGrid

Pen to use in drawing grid.

ptOrgGrid

Point of origin for the grid lines.

wVGrid

Vertical grid line spacing.

wHGrid

Horizontal grid line spacing.

dwApp

Application data.

dwReserved

Reserved.

 

Comments

Before using CTLINITIEDIT, an application must initialize cbSize with sizeof( CTLINITIEDIT ).

See Also

IE_SETBKGND, IE_SETDRAWOPTS, IE_SETNOTIFY, IE_SETRECOG, IE_SETSECURITY, IE_GETSTYLE, IE_SETDRAWOPTS, WM_CTLINIT